Jun 2

Sexy Drop Down Menu w/ jQuery & CSS

Studies show that top navigations tend to get the most visual attention when a user first visits a site. Having organized and intuitive navigation is key — and while most drop down menus may look aesthetically pleasing, developing them to degrade gracefully is also essential. In this tutorial I would like to go over how to create a sexy drop down menu that can also degrade gracefully.


View Demo of Sexy Drop Down Menu

Image1 in Sexy Drop Down Menu w/ jQuery & CSS

Step1. HTML

First create an unordered list for your base top navigation. Then simply nest another unordered list for your sub navigation.

<ul class="topnav">
    <li><a href="#">Home</a></li>
    <li>
        <a href="#">Tutorials</a>
        <ul class="subnav">
            <li><a href="#">Sub Nav Link</a></li>
            <li><a href="#">Sub Nav Link</a></li>
        </ul>
    </li>
    <li>
        <a href="#">Resources</a>
        <ul class="subnav">
            <li><a href="#">Sub Nav Link</a></li>
            <li><a href="#">Sub Nav Link</a></li>
        </ul>
    </li>
    <li><a href="#">About Us</a></li>
    <li><a href="#">Advertise</a></li>
    <li><a href="#">Submit</a></li>
    <li><a href="#">Contact Us</a></li>
</ul>

Step2. CSS

Next, it’s time to style the navigation wireframe with CSS.

ul.topnav {
	list-style: none;
	padding: 0 20px;
	margin: 0;
	float: left;
	width: 920px;
	background: #222;
	font-size: 1.2em;
	background: url(topnav_bg.gif) repeat-x;
}
ul.topnav li {
	float: left;
	margin: 0;
	padding: 0 15px 0 0;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
}
ul.topnav li a{
	padding: 10px 5px;
	color: #fff;
	display: block;
	text-decoration: none;
	float: left;
}
ul.topnav li a:hover{
	background: url(topnav_hover.gif) no-repeat center top;
}
ul.topnav li span { /*--Drop down trigger styles--*/
	width: 17px;
	height: 35px;
	float: left;
	background: url(subnav_btn.gif) no-repeat center top;
}
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.topnav li ul.subnav li a {
	float: left;
	width: 145px;
	background: #333 url(dropdown_linkbg.gif) no-repeat 10px center;
	padding-left: 20px;
}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
	background: #222 url(dropdown_linkbg.gif) no-repeat 10px center;
}

Step3. jQuery

For those who are new to jQuery, you can learn about it here.

The following script contains comments explaining which jQuery actions are being performed.

$(document).ready(function(){

	$("ul.subnav").parent().append("<span></span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*)

	$("ul.topnav li span").click(function() { //When trigger is clicked...

		//Following events are applied to the subnav itself (moving subnav up and down)
		$(this).parent().find("ul.subnav").slideDown('fast').show(); //Drop down the subnav on click

		$(this).parent().hover(function() {
		}, function(){
			$(this).parent().find("ul.subnav").slideUp('slow'); //When the mouse hovers out of the subnav, move it back up
		});

		//Following events are applied to the trigger (Hover events for the trigger)
		}).hover(function() {
			$(this).addClass("subhover"); //On hover over, add class "subhover"
		}, function(){	//On Hover Out
			$(this).removeClass("subhover"); //On hover out, remove class "subhover"
	});

});

*To degrade gracefully, we only show the drop down menu trigger to those who have javascript enabled.

Degrade Gracefully Demo in Sexy Drop Down Menu w/ jQuery & CSS

This is what it looks like when javascript is disabled:

Javascript Disabled in Sexy Drop Down Menu w/ jQuery & CSS

View Demo of Sexy Drop Down Menu

Conclusion

Note: I went ahead and added the rounded corners to the demo (CSS3 – Only supported in Firefox, Safar, & Chrome). If you would like to give it a try, check out this tutorial.

Experiment and customize this to fit your needs! If you have any questions, concerns, suggestions, or comments, please do not hesitate to let me know.

Author: Soh Tanaka

Soh Tanaka is a Los Angeles based Web Designer and blogger, who recently launched a CSS Web Gallery called Design Bombs. For more front-end web development tutorials, check out his web design blog or you can follow him on twitter @SohTanaka

Write for Us! We are looking for exciting and creative articles, if you want to contribute, just send us an email.

Tags: ,

378 Responses, Add Comment +

  1. Basti 6 February 2010

    A very nice Tutorial but the script isn’t working ?!
    Please help :)
    tunetek @gmx.de

  2. Aboubaker Nour 8 February 2010

    Thank you for the tutorial,
    Can I make it just when the mouse hover it the drown menu works ?

  3. Peter 10 February 2010

    Hi, Thank for the great menu.

    Does this support jQuery UI?

  4. Michael giles 10 February 2010

    Here is an example of your sexy menu in production! I got the hover over to work instead of having to click on the arrow.

    uinsureme.com/

    Thx,
    Michael Giles.

    • Tony 2 March 2010

      Hi Michael, I can’t get my dropdown menu to display in IE6 or IE7 no matter how high I set the z-index. I see you had no such trouble. Did you have to do anything special?

      thanks in advance

      Tony

      • Michael Giles 4 March 2010

        Can you send a link to the page you are developing? I’ll try to see what the problem is.

        • chris 7 July 2010

          Michael, how do I get the drop down working in IE6? All other browsers work fine. I see Tony received an answer. The site I’m developing is http://www.7dma.com. I would really appreciate any help you can give here or email identity1040@yahoo.com.

          Thank you,
          Chris

          • alex 7 July 2010

            for those who cannot run this dropdown in ie6&7, the fixing is you should grab the latest the jquery lib. for instance 1.4.2, the 1.3 brunches cannot works in ie 6&7, i met this problem before. Then fixing it after migrating to 1.4.2.
            cheers.

    • Evan 5 March 2010

      Thanks for pointing us to your solution, your JS worked fine for me.

      And thanks for this post in general – I hate drop-down stuff, this saved me loads of time!

    • Vishal 10 April 2010

      No offense, that’s a horrible looking menu. I mean, you just changed the CSS a and a:hover but the dropdown is still the same dark grey. Blue, with a dark grey? Time to get a color blindness check maybe? :) Only creative criticism.

      • dogboy 28 April 2010

        Blue and grey go well together. I don’t like the rounded ‘tube’ look of the menu personally but the colors are ok.

    • Jason 24 May 2010

      I think I love you, your JS works great for the hover! Thank you!

  5. Far0n0 11 February 2010

    thanks. I’ll use this menu

  6. matt 11 February 2010

    I was able to get the hove working by adding this as my script

    http://codeviewer.org/view/code:bf9

  7. Virgil 14 February 2010

    looks nice… i’ll give it a try thanks.

    • Kyle 14 February 2010

      Eka’s code did work if you want it to drop down when just hovering over the text. Make sure you put a span around the link and then put in this code (I have changed out all the quotes in the code and switched them to apostrophes):

      $(document).ready(function(){

      $(‘ul.subnav’).parent().append(“”); //Only shows drop down trigger when js is enabled – Adds empty span tag after ul.subnav

      $(‘ul.topnav li span’).hover(function() { //When trigger is clicked…

      //Following events are applied to the subnav itself (moving subnav up and down)
      $(this).parent().find(‘ul.subnav’).slideDown(‘fast’).show(); //Drop down the subnav on click

      $(this).parent().hover(function() {
      }, function(){
      $(this).parent().find(‘ul.subnav’).slideUp(‘slow’); //When the mouse hovers out of the subnav, move it back up
      });

      //Following events are applied to the trigger (Hover events for the trigger)
      }).hover(function() {
      $(this).addClass(‘subhover’); //On hover over, add class “subhover”
      }, function(){ //On Hover Out
      $(this).removeClass(‘subhover’); //On hover out, remove class “subhover”
      });

      });

      • rafs 8 March 2010

        you also forgot the between the quotes in line two.

        • rafs 8 March 2010

          i meant {span} and {/span} (replace { with greater and less than signs)

      • John 25 August 2010

        PLEASE help me with this. I am trying get this rollover text thing to work. I am NOT an advanced user. I see what you posted, I just don’t know how to add it to what i have. Please help me.

  8. felipe saavedra 16 February 2010

    muchas gracias.

  9. Vidit Kothari 17 February 2010

    It’s a very easy to understand tut.

    Thank You so much!!! :)

    • Tony 2 March 2010

      Great menu script, my only problem is I need it to work with older browser versions, i.e. IE6 & IE7. I can’t get the submenu dropdown to display no matter how high I set the z-index property

      Any ideas?

      Thanks in advance

      • Paul 29 April 2010

        Are you using transparent PNGs? If you are, it could be the IE Z-Index bug. Try giving the parent element a higher z-index. ie:

        Page

  10. laxman kafle 19 February 2010

    can we use this in blogger

  11. Design Dazzling 22 February 2010

    Thanks so much for this menu

  12. Vladimir 27 February 2010

    I have client with a knife on my neck to hurry up and finish it, and I didn’t even start because I don’t have a clue where to begining. he said sliding equivalent jQuery form and I said yes, yes i did it many times – but this block my mind and can’t figure it out – PLEASE HELP!At vps.net/vps-signup as you’ll all see there is power icon as handle to move sliding horizontal bar to get/mange your own price/pacage.How come that noupeis publishing wedding cards – but not something like this…sorry but I’m reading you every single day – probably up-to 300 days a year and u r my favourite and still i can get one – only one thing when I ask. please answer with help or tutorial or please direct/redirect me somewhere and tell me what to look for if you hav legal issues of posting this advanced techniques from jQuery Advocates. But I really desperatelly need this. Please answer

  13. Jens Kelch 28 February 2010

    Thanks for this great Tutorial!

  14. Ifeanyi 1 March 2010

    Thks for the info. but what about the image you used for the bkg.

  15. tech money 1 March 2010

    Just bookmark the article on Del and copy the useful code. Great helps!

  16. Carl 3 March 2010

    Hi,

    Excellent menu, easy to style, I just have one request. Is there a way to have add level 3 menu options as well. I have tried it, but the level 3 menu appears behind the level 2 menu dropdown.

    Thanks in advance.

    • Jim Tan 9 April 2010

      I’m looking for sexy menu that support 3rd level submenu.

  17. Eric 4 March 2010

    Love this. How would one modify this to pop up instead of down. I want to create a footer menu…. something like facebook has for contacts. Thanks! :)

  18. Chicago Web Design 8 March 2010

    Awesome, Im also curious as to what mods you need to make to get this to run up instead of down?

  19. TheShadow 9 March 2010

    Hi,Nice tutorial.i have added to my website but i don’t see drop down icon.and regarding java script what should be the file name for it?

  20. Kingsofweb 9 March 2010

    Thank you for this, i have tried also but could not do it, this helps alot!

    Thnak you

    Jon

  21. DJPhilips 15 March 2010

    I LOVE this tutorial and script. Thank you. I have made some mods for it and even made it a dynamic menu for my custom CMS. I’m having one tiny issue though: For some reason, headers in my content appear stacked above the nav, while the content properly is stacked below. I have even carved out all z-index CSS descriptors site-wide, and still have this issue. Any advice? Assigning a high z-index for the menu didn’t help.

  22. NPXP 20 March 2010

    This is something what everyone should look into. Improving the appearance of their blogs and websites.

    First time attraction can mean a lot in terms of return visitors.

  23. Alex 24 March 2010

    very nice informative post…..loved it

  24. lirik 30 March 2010

    great tutorial thanks..

    • Mike 30 March 2010

      I was wondering where I can get the required background images for the dropdowns and menus. Thanks!

  25. controlsea 30 March 2010

    It looks so sexy.I’ll get to try it~~

  26. James Wilson 31 March 2010

    the hover works for me too, but i still have a jquery error:

    handler is undefined
    [Break on this error] if ( !handler.guid )

    any ideas?

  27. James Wilson 31 March 2010

    i got it working, its the second part of the function causing the error so i commented it out and now my hover works fine and NO errors:

    $(document).ready(function(){

    $(“ul.subnav”).parent().append(“”); //Only shows drop down trigger when js is enabled – Adds empty span tag after ul.subnav

    $(“ul.topnav li span”).hover(

    function() { //When trigger is clicked…

    //Following events are applied to the subnav itself (moving subnav up and down)
    $(this).parent().find(“ul.subnav”).slideDown(1200).show(); //Drop down the subnav on click

    $(this).parent().hover(function() {
    }, function(){
    $(this).parent().find(“ul.subnav”).slideUp(500); //When the mouse hovers out of the subnav, move it back up
    });

    // //Following events are applied to the trigger (Hover events for the trigger)
    // }).hover(function() {
    // $(this).addClass(“subhover”); //On hover over, add class “subhover”
    // }, function(){ //On Hover Out
    // $(this).removeClass(“subhover”); //On hover out, remove class “subhover”
    },

    function () {
    //
    }
    );

    });

  28. Mike 31 March 2010

    Where can I download the source files for this nav bar?

  29. ropat 31 March 2010

    really sexy
    good job man

  30. Xavier 1 April 2010

    Great drop down menu, i like it

  31. milon 2 April 2010

    hello dear
    i am use this menu its works core php but when i used in diem cmf its showing error ” $(“ul.subnav”) is null “. why show this error? plz help me…

    thanks.

  32. Andrei 3 April 2010

    Hi, I tried the code myself to put it on the forum menu goes up as arrows and a banner appears to them so what now? Please help me, and me trying to make millions and uplodati file on a website please I really need. I do not know HTML and CSS well. I put a code, “notepad” and watched the tutorial and not going to put it. Help me please

  33. elfo 7 April 2010

    You might want to consider adding white-space: pre-line; to your elements to prevent overflowing in some browsers (Firefox 3.6.3 for instance).

  34. elfo 7 April 2010

    … to your elements, that is. You might also want to make a change to the comment filtering system so it replaces with > instead of stripping them completely.

  35. 360 8 April 2010

    Ye, very good. I like it..

  36. ekom 12 April 2010

    awesome tuts, just looking for this sexy menu solutions for one of my website project.

  37. Tim 14 April 2010

    Some of the author’s other tutorials have been really useful for me, but the result for this one is sub-par. The nav menu isn’t user-friendly because you have to click on the parent links instead of just hovering upon them. People expect the latter and, worse, you have to click on the relatively small triggers and not the actual parent links.

    • Jason 29 July 2010

      Think about this in terms of the iPad/iPhone, though. You can’t hover on those, but you can use this very nice menu to click-and-expand.

      Kudos!!!

  38. Boldis Media 17 April 2010

    Wonderful web coding tutorials, thanks a lot!

  39. James Wilson 18 April 2010

    My hover menu is a DISASTER in Ie7 with the z-index issues.

    Can anyone help me out please? It’s worth a link back to your site or blog if you do :)

    http://www.enterf1.com/f1-tickets/bahrain.asp

    F1 tickets link at the top of the page is my hover menu.

    Please get in touch via the contact us button if you can help us out!

  40. Raj 19 April 2010

    Hi

    I am new to this navigation menu. I am finding difficult to get this navigation to work. Any one can help me with step by step clear tutorials

  41. yashin 21 April 2010

    nice , thanks for you great work and help

  42. Dan Smith 28 April 2010

    Thanks for the great tutorial,

    However can someone point me in the right direction to have a sub sub menu?

    Thanks

  43. Ryan 28 April 2010

    hi! i really like this nav menu, and the tutorial was excellent. However, i am having a problem with the menu. It wont display over the rest of my content. I have tried altering the z-index, but to no avail. Can someone please tell me how i do this? i’m sure its something simple, but i cant work it out.

    Many thanks

    Ryan

    • Paul 29 April 2010

      What’s your content you’re trying to display over? Flash, text, images? If it’s Flash than play with wmode.

  44. AlliClinton 28 April 2010

    I want to make the drop down menu appears when the cursor is on a menu, not on the side knob

  45. Boldis Media 28 April 2010

    Very attractive menu, thanks for example!

  46. agehilsoppils 29 April 2010

    zoormjarf
    aded

    • Zamshed Farhan 2 May 2010

      tets

  47. FutureBon! 4 May 2010

    Thank you much! Very helpful! I did it as an excercise, and learned more about using jquery. Looks sharp :D

  48. Unnname 8 May 2010

    Not work,help me plsssss what is a download?
    It’s stupid

    • The Game 8 May 2010

      you are stupid

  49. The Game 8 May 2010

    not a good menu i have better menu

  50. suzon 12 May 2010

    i’msuzon

  51. xene 12 May 2010

    Multilevel support?

  52. Evan Skuthorpe 14 May 2010

    An awesome tutorial! Looking into getting it to work now!

  53. dattai 14 May 2010

    That’s very coool

    THanks alot

  54. janis 15 May 2010

    Very nice tutorial

    but it does break down the function if some one has javablocker like me :s

    to bad the basic menu function doesn’t work any more, if you have a javablocker:(

  55. webdesign agentur 19 May 2010

    sehr toller beitrag. macht weiter so und ich komme immer wieder gerne hier auf eure seite.

    lieben gruß, mario

  56. webdesign agentur 19 May 2010

    very very nice!!!

  57. Riad Meknes 22 May 2010

    script doesn’t work even when i added those cotes @ the end any solution please?
    Thank you

  58. Mukesh Variya 27 May 2010

    Hello,

    I used this code and working fine. But there is problem that it does not work with n level menu.

    I put this code

    Home

    Tutorials

    Sub Nav Link

    Sub Nav Link

    Sub Nav Link
    Sub Nav Link
    Sub Nav Link
    Sub Nav Link

  59. Corey Abundis 28 May 2010

    Hey what theme is this? i definitely love it :)

  60. Sandra 29 May 2010

    Dont forget to close the tags if you want the effect to work. Its easy to overlook some code, sometimes you just forgets some small characters and the result is not what you were hoping for.

  61. arhanghel 30 May 2010

    very rare

  62. David 30 May 2010

    If you want to trigger the drop down on mouseover for the entire link instead of the span… just target the link:

    $(“ul.topnav li a”).mouseover(function() { //When trigger is clicked…

    • Ryan H.R the junior 14 June 2010

      thanks!… this is very simple.. this works for hover..

    • Chris 17 August 2010

      HI, I had sussed this, however when using this method, for some reason the onmouse out function does not work unless you go onto the drop down itself then mouse out.

      Any ideas?

  63. Autismus 6 June 2010

    i’ll be try tips above. it is great tips for share

  64. Beth 7 June 2010

    for those wanting hover without extra markup:

    $(document).ready(function() {

    $(“ul.topnav > li a:first-child”).mouseover(function() {
    $(this).parent().find(“ul.subnav”).slideDown(‘fast’).show();
    $(this).parent().hover(function() {
    }, function() {
    $(this).parent().find(“ul.subnav”).slideUp(‘slow’);
    });
    }).hover(function() {
    $(this).addClass(“subhover”);
    }, function() {
    $(this).removeClass(“subhover”);
    });
    });

    • Mark 13 July 2010

      You all must be joking here. All Hover codes that you have pasted doesn’t work properly in FF 3.6.6 . Be sure that you have tested the code before and after posting because it gets me frustrated.

      • Mark 13 July 2010

        I meant everybody should add:
        “When copying sourcecode to editor be sure the double quotes and quotes are properly copied”. Most of the time when I copied the sourcecode from this website (website opened in FF) I had to change single quotes and double quotes from italic version to normal – these look very similar but are not the same. BTW the Beth’s code works, just after copying rewrite these double quotes and singlequotes and it is working properly.

  65. datshay 9 June 2010

    Greaat.!!!

  66. Jeffrey Bennett 10 June 2010

    Great script! I’ll be using this in some of my web design work. Thank you! :)

  67. Paul 13 June 2010

    Hi,

    First off, what a lovely looking menu!

    Secondly, I can’t seem to get it to work, and I’ve no idea why… please see: http://www2.thelearningpath.co.uk/

    As you can see, neither the arrow shows, or the drop-down itself. If you view the source, it’s pretty much an exact copy of the tutorial, albeit the images have been uploaded elsewhere. But I still can’t seem to get it to work…

    Any ideas where I’m going wrong?

  68. Leorajan 21 June 2010

    Hi

    Is it possible to use the dropdown code for two menus in the same page. That is one with full menu and the other one for just a single link. pls help me out.

    Regards
    N. Leorajan

  69. Claudio 25 June 2010

    I would like to implement it in wordpress, can someone help me to do that? Thanks in advance.

  70. jarloszy 28 June 2010

    i have tried it and it worked perfectly for me. Now, my problem is how to add the dropdown arrows in front of the top navigation links.

  71. Crystal 30 June 2010

    My website is not published yet, but have decided to use this wonderful drop down menu! My issue is with the CSS for the – page properties; “body”. I have a background image. How can I get the body_bg.gif image to work? Is there such a thing as dual body css? This is driving me crazy that I can’t figure out how to not override it, or even change the name which does not work.

    Your CSS for body:
    body {
    margin-top: 0pt;
    margin-right: 0pt;
    margin-bottom: 0pt;
    margin-left: 0pt;
    padding-top: 0pt;
    padding-right: 0pt;
    padding-bottom: 0pt;
    padding-left: 0pt;
    font-family: normal Arial,Helvetica,sans-serif;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    font-size: 10px;
    line-height: normal;
    font-size-adjust: none;
    font-stretch: normal;
    -x-system-font: none;
    background-color: #ddd;
    background-image: url(images/body_bg.gif);
    background-repeat: repeat-x;
    background-attachment: scroll;
    background-position: 0% 0%;
    }

    My CSS for body:
    body {
    background-image: url(images/background-pagenew.jpg);
    background-repeat: repeat-x;
    }

    Any suggestions of what I might do to fix this major issue?

    • Crystal 30 June 2010

      I’ve changed my approach and just added the bar into my background image! I figured out a different way.

      Cheers

  72. Shiri 2 July 2010

    Great resource, thanks!

  73. Erotikshop90 6 July 2010

    Türkiyenin en kaliteli, çe?idin çok oldu?u erotikshop sitesi, erotik marketin adresi, her türlü zevk ürünleri, aletleri bulunur GSM:0535 429 46 01 GSM:0543 664 70 81
    erotikshop, eroticshop, erotik market, oral sex ürünleri, sex ürünleri, sex aletleri, cinsel zevk ürünleri, ?i?me bebek, penis büyütücü, bayan azd?r?c?,
    ErotikShop, Geciktirici Sprey, Penis Büyütücü Hap, SexShop,

  74. Chris 7 July 2010

    Can anyone tell me how to create a second level fly-out menu from the main dropdown? The examples I’ve seen, such as uinsureme.com, only use one drop-down list per nav button, not multiple lists.

    I really appreciate your patience in helping a newbie.

    Thank you,
    Chris

  75. Amitesh 8 July 2010

    working in ASP.net C#. this menu is not working properly when it is included in master page otherwise in all other pages its working (aspx, html). Please help

  76. william 11 July 2010

    Its very usefull for me.Thx

  77. lee 12 July 2010

    study…!

  78. Tim 16 July 2010

    The demo site is no longer available

  79. JJ 18 July 2010

    Can this code be turned into a mega menu? I need to have a drop down with 2 -3 columns. I like this menu but need to tranform it into what I need.

  80. Lauren Barker 20 July 2010

    Nice menu. I have it working great in a site I am designing. Is there a way to make the menu “Drop Up” instead of dropping down? I tried reversing the jQuery calls but that just messed it up. I cant seem to find any other examples of drop up menus on the web. Any help is appreciated! Thanks

    -Lauren

  81. And 24 July 2010

    Nice menu, but not working when before “html” tag is

    :/

    • And 24 July 2010

      … DOC TYPE declarations.

  82. dhamaso 30 July 2010

    does not work with z-index property, The menu never positioned above the other elements in internet explorer 6 and 7.
    can you helpme?

  83. cuboid 31 July 2010

    Really nice. Thanks a lot

  84. Chris 7 August 2010

    You have a really nice blog, but I can’t find the download link or button to play with these files. Do I have to fish them out manually?

  85. askkuber 16 August 2010

    Thanks for ur tutorial can we implement this in our Existing Menu which is TOtally based on CSS and Java Script
    thanks

  86. Ibrahim 17 August 2010

    Excellent, thank you,

  87. cmunyao 19 August 2010

    this is great. I’ve extended it’s usage to Contao CMS navigation module and everything is working right.

    Am also looking for a another sexy vertical menu that slides down vertically to view the sub menu.Great moment

  88. Prof.Yeow 20 August 2010

    Thanks! So much

  89. Amarneethi 22 August 2010

    hi

    Im new to js and jQuery. I understand what all the js up there does, expect the following lines

    $(this).parent().hover(function() {
    },

  90. Eros Bein 22 August 2010

    Hi, it`s a cool menu, but how can I delay the mouseover ?

    With $(this).parent().find(“ul.subnav”).delay(1000).hide(50);
    I get problems, because after 5 Klicks it hides at once.

    Thank you.

  91. Deko Web 24 August 2010

    Thank you for sharing, really nice design…

  92. Riyas 25 August 2010

    It’s really cool. very good. I redesigned my web site. Please let me know your thoughts. Visit riyasonline.info. Thanks

  93. phpsol 25 August 2010

    Hi
    Good solution thanks for that.
    Regards

  94. Megat 26 August 2010

    Thanks! Its good to have people who can share about this.

  95. tuanhuy 27 August 2010

    Sorry I have tried to view your online demo with chrome, ie8 and ff4, none is working!

    • John 28 August 2010

      I have just tested it and it works perfectly. May be something is wrong with your setting.

  96. brijal 30 August 2010

    Nice one. I have tried it and it’s working great for me.

  97. Dave 31 August 2010

    thanks for the tutorial. i am however finding a lot of confusion. i wish there could be more information about parts of the nav such as the images used in the css part

  98. njmehta 2 September 2010

    In this tutorial I would like to go over how to create a sexy drop down menu that can also degrade gracefully.

Trackbacks

Leave a Reply

Comments are moderated – and rel="nofollow" is in use. Please no link dropping, no keywords or domains as names; do not spam, and do not advertise!