So here will create a simple bounce out vertical menu with the help of little bit css3 and jquery framework. Beautiful navigation menu can stand out your website from the crowd of creative navigations. That’s why we tried to create vertical menu which on mouse hover give a nice bounce out sliding effect. Lets begin..
Demo Download
Files Needed before Starting
jQuery Framework – Download
jQuery Easing Plugin – Download
Here we will use jQuery easing plugin to get easeoutbounce effect directly. Therefore we don’t need to code much. We can get the desired effect in simple steps.
Step 1 : HTML
Will create li elements for our navigation menu with description in paragraph tag. Check out the below document for more clarification.
<div id="vnav"> <ul> <li><h1>Home</h1><p>Home page</p></li> <li><h1>About Us</h1><p>Know About our company</p></li> <li><h1>Portfolio</h1><p>Check our Portfolio</p></li> <li><h1>Contact Us</h1><p>Have a question?</p></li> </ul> </div>
Step 2 : CSS Style
Here we will use some css3 properties to get some cool UI effect like box-shadow and text-shadow.
Box-Shadow – Box shadow will give some drop down effect to the whole box element ( li here ).
Box shadow takes 3 lengths and a color as attributes. ( Horizontal offset, Vertical offset, Blur radius and color).
Text-Shadow – Same as box-shadow x offset, y offset, blur and color.
Check the below codes for more clarification.
Note : Make li overflow to hidden so that paragraph text will be hidden and later will use jQuery to show paragraph text.
li { height:20px; width:200px; overflow:hidden; /* Important */ color: #fff; text-decoration: none; font-weight: bold; line-height: 1; /* Rounded Corners */ -moz-border-radius: 5px; -webkit-border-radius: 5px; /* Box Shadow */ -moz-box-shadow: 0 1px 3px #999; -webkit-box-shadow: 0 1px 3px #999; /* Text Shadow */ text-shadow: 0 -1px 1px #222; border-bottom: 1px solid #222; padding: 7px 10px 6px; margin-top:5px; background-color:#a447cf; } li p { margin-top:10px; font-size:12px; color:#6CF; }
Step 3 : Link Jquery and Easing Plugin
Now we got jquery framework and easing plugin with us so its the time to link it with html document. Along with Empty custom.js so we can write codes in there later.
<script src="jquery.min.js" type="text/javascript"></script> <script src="custom.js" type="text/javascript"></script> <script src="jquery.easing.1.3.js" type="text/javascript"></script>
Step 4 : jQuery
Here will use mouseover and mouseout properties of jQuery to get the final Effect. Using animate function will change the height of li element so that it can show the paragraph text. And on mouseout will change its height back to normal pixel.
$(document).ready(function(){ //When Mouse rolls over li $("li").mouseover(function(){ $(this).stop().animate({height:'60px'},{queue:false, duration:600, easing: 'easeOutBounce'}) }); //When Mouse cursor removed from li $("li").mouseout(function(){ $(this).stop().animate({height:'20px'},{queue:false, duration:600, easing: 'easeOutBounce'}) }); });
Demo Download
Our incredible deals of vbulletin hosting and free 650-195 tutorials make your success certain for the final 1z0-451 exam and you can get pass4sure 70-681 dumps & ccna.




















[...] This post was mentioned on Twitter by Antonio Capuozzo, vikas ghodke. vikas ghodke said: RT @wddesk Create Bounce out Vertical menu with jQuery http://bit.ly/cLoTZl [...]
Thank’s, very useful!
[Reply]
Prakash Reply:
May 11th, 2010 at 11:16 am
Thanks Mate for your valuable comment.
[Reply]
This blog is very interesting
[Reply]
Prakash Reply:
May 13th, 2010 at 7:35 pm
Thank You.
[Reply]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] Create Bounce out Vertical menu with jQuery | Web Designers Desk [...]
Nice effect. I like the way the menu item falls down and shakes. Thanks for the tutorial.
[Reply]
Admin Reply:
May 16th, 2010 at 9:44 am
Glad You liked it. Stay tune for more tutorials.
[Reply]
so smooth…thanks for share
[Reply]
Admin Reply:
May 16th, 2010 at 9:44 am
Thank You
[Reply]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] mediante jQuery y CSS3Crear un Twitter Ticker con jQueryCrear una galería de imágenes con jQueryCrear un menú vertical con jQueryCrear un carrusel de imágenes con jQuery CycleCrear un contenedor deslizante usando CSS y [...]
[...] Link: http://webdesignersdesk.com/2010/05/create-bounce-out-vertical-menu-with-jquery/ [...]
[...] 20.Create Bounce out Vertical menu with jQuery [...]
Amazing….. It feels good to find someone who has concern for things that are usually overlooked.“No matter how pleasant something would appear, there will always be a room for improvement” and you have clearly brought it out in this post del.icio.us poetry. So all job seekers mus find it interesting too.
[Reply]
[...] Link: http://webdesignersdesk.com/2010/05/create-bounce-out-vertical-menu-with-jquery/ [...]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] 1. Create Bounce out Vertical menu with jQuery [...]
[...] 1。 创建垂直弹跳出菜单使用jQuery [...]
[...] 1. Create Bounce out Vertical menu with jQuery [...]
[...] 1. Create Bounce out Vertical menu with jQuery [...]
Finally a smart blogger…I love how you’re thinking and writing!
[Reply]
Great article.
[Reply]
:O So mush Info :O : THis Is he MOst AMAzing SIte DUDe:
[Reply]
[...] Go here to see the original: Create Bounce out Vertical menu with jQuery | Web Designers Desk [...]
[...] 14- Create Bounce out Vertical menu with jQuery [...]
Hey admin, very informative blog post! Pleasee continue this awesome work..
[Reply]
[...] Create Bounce out Vertical menu with jQuery [...]
[...] 1. תפריט ניווט אנכי – קופצני מבוסס jQuery [...]
Buy:Cialis Soft Tabs.Super Active ED Pack.Soma.Tramadol.Levitra.Zithromax.Viagra Professional.Cialis.Cialis Professional.Viagra Soft Tabs.VPXL.Viagra Super Active+.Maxaman.Propecia.Cialis Super Active+.Viagra Super Force.Viagra….
grill http://1u3.m2i.zba.vg : rio…
rio…
advair diskus…
advair diskus…