"OmahPsd Template"

DOCUMENTATION BY "OMAHPSD" V1.0

MYFOLIO

Created: 22/07/2014

By: omahpsd.com

Email: omahpsd@gmail.com

Thank you for donwload my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!

Table of Contents

A) Getting Started - top

Since this is an HTML/CSS template, you can actually run it off your computer with little setup on the server. When you are ready to put the site on your server, upload all the files in the theme folder to your server.

B) HTML/1200 Grid Structure - top

This theme is a fixed layout with up to 12 columns. All of the information within the main content area is nested within a div with an class of "wrapper".The general template structure is the same throughout the template as it uses the 12 column 1200.gs Bootstrap framework.

1200.gs Bootstrap framework

The general concept behind the 12 column framework is that all the columns (labeled span'x') need to add up to 12 when using the 12 column version of their framework.

The Bootstrap site has a nice demo and you can also see it on the columns-all.html file included with this theme. The best way I would suggest to become familiar with this framework is to simply edit what I have already set up.

Bootstrap has a great overview of the Grid System framework you may want to check out.

C) Style Using Bootstrap Less - top

At first glance, the CSS may look confusing, because CSS is create using LESS let me explain each below:

  • style.css - Our's custom css and custom Bootstrap CSS Framework, do not edit this file.

  • bootstrap.css - The Bootstrap Grid and CSS Framework, do not edit this file.

if you want to custom style you can custom file style.less on folder with name less, if you confiuse how to custem the LESS file you can see the how to use LESS on http://lesscss.org


Handy CSS Classes:

.clearfix - A quick way to clear floated HTML elements

.img-thumbnail - Add a soft border and padding image edge

.img-circle - Add a full rounded image edge with CSS3 rounded borders.

.img-rounded - Add a soft rounded image edge with CSS3 rounded borders.

.pull-left - Float item to left

.pull-right - Float item to right

.text-center - Center text

.text-left - Left text

.text-right - Right text

etc you can see all on bootstrap documentation


D) JavaScript/jQuery Plugins - top

<script src="js/jquery-1.10.2.js"></script>
<script src="js/bootstrap.js"></script>
<script src="component/jquery.inview/jquery.inview.min.js"></script>
<script src="component/backstretch/jquery.backstretch.min.js"></script>
<script src="component/jqBootstrapValidation-1.3.7/jqBootstrapValidation-1.3.7.min.js"></script>

Bootstrap jquery plugin

See all bootstrap jquery plugin setup on bootstrap documentation

jquery plugin inview

the content animated view effect is powered by "jquery inview" and css animmate library "http://daneden.me/animate"

jquery inview reference: https://github.com/protonet/jquery.inview

//css
.delay1{

-webkit-animation-delay: 100ms;
-moz-animation-delay: 100ms;
-ms-animation-delay: 100ms;
-o-animation-delay: 100ms;

}
.delay2{

-webkit-animation-delay: 200ms;
-moz-animation-delay: 200ms;
-ms-animation-delay: 200ms;
-o-animation-delay: 200ms;

}
.delay3{

-webkit-animation-delay: 300ms;
-moz-animation-delay: 300ms;
-ms-animation-delay: 300ms;
-o-animation-delay: 300ms;

}
.delay4{

-webkit-animation-delay: 400ms;
-moz-animation-delay: 400ms;
-ms-animation-delay: 400ms;
-o-animation-delay: 400ms;

}
.delay5{

-webkit-animation-delay: 500ms;
-moz-animation-delay: 500ms;
-ms-animation-delay: 500ms;
-o-animation-delay: 500ms;

}
.delay6{

-webkit-animation-delay: 600ms;
-moz-animation-delay: 600ms;
-ms-animation-delay: 600ms;
-o-animation-delay: 600ms;

}
.delay7{

-webkit-animation-delay: 700ms;
-moz-animation-delay: 700ms;
-ms-animation-delay: 700ms;
-o-animation-delay: 700ms;

}
.delay8{

-webkit-animation-delay: 800ms;
-moz-animation-delay: 800ms;
-ms-animation-delay: 800ms;
-o-animation-delay: 800ms;

}
.delay9{

-webkit-animation-delay: 900ms;
-moz-animation-delay: 900ms;
-ms-animation-delay: 900ms;
-o-animation-delay: 900ms;

}
.delay10{

-webkit-animation-delay: 1000ms;
-moz-animation-delay: 1000ms;
-ms-animation-delay: 1000ms;
-o-animation-delay: 100ms;

}

.hidding{
visibility:hidden;
}
.visible{
visibility:visible;
}
//html
<div class="col-xs-6 hidding animated delay7" data-animated="bounceInUp">
....
</div>

//jquery
$('.hidding').bind('inview', function(event, visible) {
var effect = $(this).attr('data-animated');
$(this).addClass(effect);
$(this).addClass('visible');
});

jquery nav/one page nav

The one page nav, powered by "jQuery-One-Page-Nav" is very easy to manage. Please see the code in script.js to copy and modify to fit your needs. Full option reference: https://github.com/davist11/jQuery-One-Page-Nav


jQuery-One-Page-Nav setup:

$('ul.navbar-nav').onePageNav({
scrollSpeed: 1000,
scrollThreshold: 0.25
});

jquery backstretch

The background content, powered by "jQuery backstretch" is very easy to manage. Please see the code in script.js to copy and modify to fit your needs. Full option reference: http://srobbin.com/jquery-plugins/backstretch/


jquery backstretch setup:

$("body").backstretch("img/bg.jpg");

jquery validation

The falidation contact form, powered by "jQuery jqBootstrapValidation" is very easy to manage. Please see the code in script.js to copy and modify to fit your needs. Full option reference: http://reactiveraven.github.com/jqBootstrapValidation


jquery backstretch setup:

 $("input,select,textarea").not("[type=submit]").jqBootstrapValidation();

E) Sources, Credits and Font - top

I've used the following images, icons or other files as listed.

  • Bootstrap CSS Framework - http://getbootstrap.com/
  • jQuery - www.jquery.com
  • jQuery nav - http://github.com/davist11/jQuery-One-Page-Nav
  • jQuery backstretch - http://srobbin.com/jquery-plugins/backstretch/
  • jQuery jqBootstrapValidation - http://reactiveraven.github.com/jqBootstrapValidation
  • jQuery inview - https://github.com/protonet/jquery.inview
  • IE9.js - Project Hosting on Google Code: http://html5shiv.googlecode.com/svn/trunk/html5.js