Title Tutorial

Tutorial1Navigation Menu


Basic HTML Structure

<div class="nav-wrap">
<ul class="group" id="example-one">
<li class="current_page_item"><a href="#">Home</a></li>
<li><a href="#">Buy Tickets</a></li>
<li><a href="#">Group Sales</a></li>
<li><a href="#">Reviews</a></li>
<li><a href="#">The Show</a></li>
<li><a href="#">Videos</a></li>
<li><a href="#">Photos</a></li>
<li><a href="#">Magic Shop</a></li>
</ul>
</div>


Basic CSS

.box_jq_easing_linear,
.box_jq_easing_swing,
.box_jq_easing_ease_out_bounce,
.box_jq_easing_ease_in_out_elastic {
float: left;
margin-right: 20px;
margin-bottom: 20px;
}
.box_color_easing_01,
.box_color_easing_02,
.box_color_easing_03,
.box_color_easing_04 {
height: 80px;
background-color: #DE56E9;
margin-bottom: 12px;
}
.box_jq_animate_queue_true,
.box_jq_animate_queue_false {
height: 360px;
position: relative;
float: left;
margin-right: 20px;
margin-bottom: 20px;
border: 2px solid #000;
}
.box_color_animate_options_01,
.box_color_animate_options_02 {
position: absolute;
bottom: 50px;
left: 16px;
width: 100px;
height: 80px;
background-color: #1DE007;
margin-bottom: 12px;
}

ul.main_nav_menu {
list-style-type: none;
margin: 0px;
padding: 0px;
position: relative;
z-index: 1;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-weight: bolder;
}
ul.main_nav_menu li {
display: inline;
}
ul.main_nav_menu li a {
display: block;
float: left;
padding-left: 20px;
padding-right: 20px;
padding-top: 5px;
padding-bottom: 5px;
text-decoration: none;
color: #000;
width:14%;
line-height:22px;
}
ul.main_nav_menu li a:hover {
text-decoration: none;
color:#FFFFFF;
}

.main_nav_hover_box {
position: absolute;
top: 0;
background-color: #F15A29;
z-index: -1;
}
.box_nav {
height:32px;
width:720px;
border-top-width: thin;
border-right-width: thin;
border-bottom-width: thin;
border-left-width: thin;
border-top-style: solid;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-top-color: #000;
border-right-color: #000;
border-bottom-color: #000;
border-left-color: #000;
}


JQuery

$(document).ready(function(e) { $('<div class="main_nav_hover_box"></div>').css({
'width': 0,
'height': $('.main_nav_menu li:first a').height() + 10
}).appendTo('.main_nav_menu');

$('.main_nav_menu a').hover(function(){
$('.main_nav_hover_box').stop();
$('.main_nav_hover_box').animate({
'opacity': 1,
'width': $(this).width() + 40,
'left': $(this).position().left
},
{
duration: 'slow',
easing: 'easeOutCirc',
queue: false
}
);
},function(){
$('.main_nav_hover_box').animate({
'opacity': 0
}, 1500);
});


});


Go Top

Tutorial2Tab Bar

Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.

Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.

Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.

Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.

Step One:

Select THEMES on the page: http://jqueryui.com

Step Two:

Click on the left tab called Gallery and choose the UI design you want.

Step Three:

Download the UI and select the components.

Step Four:

Copy the css file on the folder css/ui-lightness/jquery-ui-1.8.18.custom.css and the images folder.
Paste in your website folder.
Observation: If you copy the css inside the css folder you have to change the directory for all the images linked on the page.

Step Five:

Copy and paste in your website folder the folder js. Then link them in your page.

Step Six:

Go to http://jqueryui.com/demos Choose Tabs on Widgets.
The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

Step Seven:

Click on View Source in the page http://jqueryui.com/demos/tabs/ to check the code and check out the rest of the page for more specifications.

Go Top

Tutoria31Acoording Menu

Section 1

Mauris mauris ante, blandit et, ultrices a, suscipit eget, quam. Integer ut neque. Vivamus nisi metus, molestie vel, gravida in, condimentum sit amet, nunc. Nam a nibh. Donec suscipit eros. Nam mi. Proin viverra leo ut odio. Curabitur malesuada. Vestibulum a velit eu ante scelerisque vulputate.

Section 2

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

Sed non urna. Donec et ante. Phasellus eu ligula. Vestibulum sit amet purus. Vivamus hendrerit, dolor at aliquet laoreet, mauris turpis porttitor velit, faucibus interdum tellus libero ac justo. Vivamus non quam. In suscipit faucibus urna.

Section 3

Nam enim risus, molestie et, porta ac, aliquam ac, risus. Quisque lobortis. Phasellus pellentesque purus in massa. Aenean in pede. Phasellus ac libero ac tellus pellentesque semper. Sed ac felis. Sed commodo, magna quis lacinia ornare, quam ante aliquam nisi, eu iaculis leo purus venenatis dui.

Section 4

Cras dictum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aenean lacinia mauris vel est.

Suspendisse eu nisl. Nullam ut libero. Integer dignissim consequat lectus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

Step One:

Select THEMES on the page: http://jqueryui.com

Step Two:

Click on the left tab called Gallery and choose the UI design you want.

Step Three:

Download the UI and select the components.

Step Four:

Copy the css file on the folder css/ui-lightness/jquery-ui-1.8.18.custom.css and the images folder.
Paste in your website folder.
Observation: If you copy the css inside the css folder you have to change the directory for all the images linked on the page.

Step Five:

Copy and paste in your website folder the folder js. Then link them in your page.

Step Six:

Go to http://jqueryui.com/demos Choose Acoordion on Widgets.
The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

Step Seven:

Click on View Source in the page http://jqueryui.com/demos/accordion/ to check the code and check out the rest of the page for more specifications.

Go Top

Tutorial4Data Picker

Date:

Step One:

Select THEMES on the page: http://jqueryui.com

Step Two:

Click on the left tab called Gallery and choose the UI design you want.

Step Three:

Download the UI and select the components.

Step Four:

Copy the css file on the folder css/ui-lightness/jquery-ui-1.8.18.custom.css and the images folder.
Paste in your website folder.
Observation: If you copy the css inside the css folder you have to change the directory for all the images linked on the page

Step Five:

Copy and paste in your website folder the folder js. Then link them in your page.

Step Six:

Go to http://jqueryui.com/demos Choose Datepicker on Widgets.
The datepicker is tied to a standard form input field. Focus on the input (click, or use the tab key) to open an interactive calendar in a small overlay. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input's value.

Step Seven:

Click on View Source in the page http://jqueryui.com/demos/datepicker/ to check the code and check out the rest of the page for more specifications.

Go Top

Tutorial5Gallery Images and Image slider

Digital Design

Slides is compatible with all modern web browsers and jQuery versions 1.4.4+.

Basic HTML Structure

<div id="slides">
<div class="slides_container">
<div>
<h1>Slide 1</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div>
<h1>Slide 2</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div>
<h1>Slide 3</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div>
<h1>Slide 4</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
</div>
</div>


Basic CSS

<style type="text/css" media="screen">
.slides_container {
width:470px;
height:170px;
}
.slides_container div {
width:470px;
height:170px;
display:block;
}
</style>


Basic Initialization

<script>
$(function(){
$("#slides").slides();
});
</script>


Combining custom options

$(function(){
$("#slides").slides({
preload: true,
preloadImage: '/img/loading.gif',
play: 5000,
pause: 2500,
hoverPause: true
});
});