WordPress Multi-Level Drop Down menu using jQuery

WordPress jQuery Multi-Level Drop-Down Menu
Click here to view demo

As WordPress theme designers, we’re often faced between the choice of going for purely CSS drop-down menu or javascript drop-down menus in our struggle with cross-browser compatibility.

The aim of this short tutorial is help you build a simple multi-level drop-down menu in your WordPress theme using jQuery’s JavaScript library to ensure cross-browser compatibility.

When I first started to design WordPress themes, I went the pure-CSS way. I found a variety of cross-browser CSS-only drop-down menus at Stu Nicholls CSS Play and implemented his solutions into my themes. Some people do not like the way Stu hacked CSS to ensure cross-browser compatibility. It may be ugly but it works. And you can’t really use WordPress wp_list_pages() tag with Stu Nicholl’s CSS because the tag’s parameters could not reproduce the CSS hacks needed to make it work.

Later on, as I started to embrace more JavaScript in my WordPress themes, I decided to built my drop-down menu with a bit of jQuery Javascript help. It saved a lot of effort. No more unnecessary CSS hacks. Plays nice with WordPress wp_list_pages() tag. And WordPress installation already comes with jQuery library included. This is one of the main reasons why I chose jQuery among other Javascript libraries.

Anyway, I’m not here to convince you to use JavaScript for your WordPress drop-down menus. To those of you who are would like to use jQuery for your multi-level WordPress drop-down menu, I hope you’ll find the short tutorial below helpful.

Add this bit of JavaScript between the <head></head> HTML tags in your WordPress theme’s header.php (thanks to kriesi.at):

<?php wp_enqueue_script('jquery'); ?>

<script type='text/javascript'>
jQuery(document).ready(function() {
jQuery("#dropmenu ul").css({display: "none"}); // Opera Fix
jQuery("#dropmenu li").hover(function(){
jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(268);
},function(){
jQuery(this).find('ul:first').css({visibility: "hidden"});
});
});
</script>

The HTML. We will list the pages using WordPress default wp_list_pages() tag. I used it in header.php of my WordPress theme:

<ul id="dropmenu">
<?php wp_list_pages('sort_column=menu_order&amp;amp;amp;title_li='); ?>
</ul>

Now here’s the CSS:

<style type="text/css">
#dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; z-index:300; width:100%; background:#fff; font-weight:bold;}
#dropmenu a {display:block; padding:0.25em 1em; color:#686868; border-right:1px solid #c8c8c8; text-decoration:none; background:#fff;}
#dropmenu a:hover {background:#888; color:#fff;}
#dropmenu li {float:left; position:relative;}
#dropmenu ul {position:absolute; display:none; width:12em; top:1.9em; left:-1px;}
#dropmenu ul a {border-left:1px solid #c8c8c8;}
#dropmenu li ul {border-top:1px solid #c8c8c8; width:14.1em;}
#dropmenu li ul a {width:12em; height:auto; float:left;  border-bottom:1px solid #c8c8c8;}
#dropmenu ul ul {top:auto;}
#dropmenu li ul ul {left:12em; margin:0px 0 0 10px;}
#dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
#dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
</style>

The CSS styling provided is pretty much barebones. You can view another demo of WordPress jQuery Multi-Level Drop-Down Menu in action here.

Need quick results? Then go through our latest <a href=”http://www.testking.com/117-101.htm”>testking 117-101</a> preparation material which includes <a href=”http://www.testking.com/156-215.htm”>testking 156-215</a> dumps and <a href=”http://www.testking.com/1Y0-259.htm”>testking 1Y0-259</a> practice exam so you will pass exam on first try.

Need quick results? Then go through our latest testking 117-101 preparation material which includes testking 156-215 dumps and testking 1Y0-259 practice exam so you will pass exam on first try.

135 Responses to “WordPress Multi-Level Drop Down menu using jQuery”


  1. 1 Eric

    Thanks for letting me know about the drop down menu. In your example http://www.hotelsandtravel.org/ this has some very cool features. Is this a theme I can download? I like the stuff on the right hand side how it shows, but you can click on the headers to get more information. I am trying to figure out the drop down menu, but new to all of this. Do you do any programming or can you build me something. I will pay for this.

  2. 2 Stanley

    HotelsandTravel.org uses a theme in development which I call ‘Press Freedom’ and yes it will be available for free download soon.

    I am anxious to offer the theme for free download as soon as possible but I decided to delay it to implement a convenient way for bloggers to handle post thumbnails/lead-images and this functionality should at least reach a usable state before launch.

    As you can see, each post listed on the home/front page of the theme uses a thumbnail/lead-image in several sizes and dimensions. Some 4:3, some 16:9 etc. ‘Press Freedom’ will include an uploadImage->resize->cropImage->saveThumbnail for every variation of thumbnail to be used in a particular post so that bloggers won’t have to manually do those things in Photoshop beforehand.

    Updated 20 Sept 2008: I’ve captured and uploaded a short video demo of what I’m rambling about. Check it out: WordPress post thumbnails without manual custom fields

  3. 3 Dave

    Appreciate you post. My buddy advice to visit you. Intresting. Added in favourites! Wanna read you more!

  4. 4 Lee Graham

    Has anybody been able to get this to work with the Junction Theme (http://patdryburgh.net/junction/)?

  5. 5 tkins recipes

    This is wonderful. I was thinking of how to achieve this for a client project and then I found your site. Thanks for the walk-through!

  6. 6 Jason Brewer

    These menus are great, but I can’t get them to work with Internet Explorer 6. Care to install it and give us a hint?
    http://tredosoft.com/Multiple_IE

  7. 7 FahadOnline

    The is the best way to have a dropdown list in wordpress I’ve ever seen. but I have only one issue to get it work right for me as my theme is “rtl”, after I change the css properties to make compatible with rtl theme it works in FF but in IE7 the list doesn’t show under the main category instead in goes to left and I can’t click on it as it disappear before the cursor reaches it.

    Would you provide me the CSS styling that fit rtl theme or any advice to help me out?

    Thanks

  8. 8 FahadOnline

    I was trying to get this working for me since my last reply and finally I got it.
    Here is the CSS styling for “Right-to-Left” theme that made the dropdown menu accessible in both Firefox & IE7

    ———————————-
    #dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; z-index:300; width:100%; background:#fff; font-weight:bold;}
    #dropmenu a {display:block; padding:0.25em 8px; color:#686868; border-right:2px solid #c8c8c8; text-decoration:none; background:#fff;}
    #dropmenu a:hover {background:#888; color:#fff;}
    #dropmenu li {float:right; position:relative;}
    #dropmenu li.logo a {border:none; border-top:4px solid #ffbe10; background:#f85c00; color:#ffbe10; font-size:1.68em; line-height:1.48em; font-weight:bold; padding:0 0.68em 1px 0.68em; margin:-8px 0 -1px; -moz-border-radius:0 0 7px 7px; -webkit-border-radius:0 0 7px 7px;}
    #dropmenu ul {position:absolute; display:none; width:13.7em; top:1.9em; margin:0px -30px;}
    #dropmenu ul a {border-right:5px solid #c8c8c8;}
    #dropmenu li ul {border-top:1px solid #c8c8c8; width:13.7em;}
    #dropmenu li ul a {width:12em; height:auto; float:right; border-bottom:1px solid #c8c8c8;}
    #dropmenu ul ul {top:auto;}
    #dropmenu li ul ul {right:13.7em; margin:0px -2px;}
    #dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
    #dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}
    ———————————-

    BTW, that Java script was showing as normal text at the header when I load the page so I added only the following line before the closing tag and it worked fine

    However, I’m glad to share this with you and I’m planning to translate this article to Arabic in my website after your permission.

    Best Regards

  9. 9 Lunefield

    Hi. The menu looks really good, but I cannot get it working with the following theme:
    ModXBlog 1.0 by JustDreamweaver. http://www.justdreamweaver.com/dreamweaver-wordpress-tools.html. I am fairly new to this but have followed your instructions, and the javascript is being displayed on screen wherever I place it in the header. Could you help please. Thanks. Also struggling to get the stylesheet just right for this theme.

    Stanley: I realise my instructions weren’t clear enough, sorry about that. I’ve modified the post and should now read:

    ” Put this bit of JavaScript code in between the <head></head> tags in your WordPress theme’s header.php file. “

  10. 10 Lunefield

    Hi. Thanks for the quick response. I had tried adding it between the head tags, and have just done it again. The code just appears above the header on the screen, although the drop down list is functional. http://www.creativeelearningsolutions.co.uk/wpress. Do I have to activate the jquery library?

    Also I can see that the titles in the dropdown run behind the text area beneath. Do you think I am going to encounter problems here as a relative novice. Thanks again.

  11. 11 Silverlight Travel

    H Stanley,

    Great work

    you wrote “I am anxious to offer the theme for free download as soon as possible ..” wen will it be? Do you have a idea?

    Regards
    Peter from Switzerland

  12. 12 createmo

    Thank you for your website ;-)
    I made with photoshop backgrounds for myspace or youtube and even more
    my backgrounds:http://tinyurl.com/5ajonc
    take care and thank you again!

  13. 13 Bryan B

    Does this work with three levels of navigation? Anyone have a sample?

  14. 14 Erick

    Thank you for this tutorial. A am able to get the menu to appear on my custom theme but I am not seeing the slide in drop down effect. Any help is greatly appreciated.

    Thnaks,

    Erick

  15. 15 Ryan

    Man, you are a savior! I just spent like 5 hours trying to figure out how to build a jQuery colorpicker into my Flexibility Theme admin page, and all I needed was to look at your code posted above to see what I was doing wrong. Thanks a ton!

  16. 16 Ben

    Hi there.

    Awesome tutorial, was just what I was looking for. I have found a bit of a glitch with how it reacts to a lightbox slideshow on my site though… I am guessing this is due to it using absolute position?? Is this right?

    Basically, the lightbox slideshow comes up but the navigation stays in front of it. I would show you the site but it’s password protected at the moment until launch.

    Any ideas?

    Thanks

  17. 17 Ben

    Hi there.

    I am having some probs with this working in ie 5 and 6. Not that I use either of those but I am sure there are some people who still do.

    Is there a fix or have I done something wrong for it to go a bit crazy. The drop downs appear fine, but when you move your mouse down, they go horizontal instead of vertical. Sometimes you can catch it and it will work fine.

    Any ideas?

    Thanks

    Ben

  18. 18 cangak

    thanks bro

  19. 19 Rudi

    How to make it vertical ??
    pls help me :D

  20. 20 Oscar Godson

    This looks great! Just what I was looking for!

    @Ben Didn’t IE5 die years ago? haha Isn’t the current share less 0.1?

    Also, you in your example you have:
    <div id=”main-content”

    and it should be:

    Thanks!

  21. 21 edward

    Hi Stanley! Great code, just one question…
    Can i use this code in my premium WordPress theme???
    Please let me know couse it looks great and i want to have your permission… If you can, can you respond me by email… I want to send you an email asking this but i cant find your direction, so well, good work, great info by the way!! Good Luck Stanley bye

  22. 22 Joe

    How do I ensure that it stays on the top level? For instance, I have the site navigation above a flash file. When the navigation comes down, it is hidden behind the swf. Any suggestions?

  23. 23 Heather

    Sorry, I’m new to this. But how do I incorporate this onto my website with this theme:

    http://www.wpdesigner.com/demo/index.php?preview=Personal

    Theme can be downloaded here:
    http://www.wpdesigner.com/2008/01/30/personal-wordpress-theme/

    THANKS!

  24. 24 MyasNick

    Great tutor! Thanks a lot!

    Is it possible to make it working on IE6?

  25. 25 MyasNick

    All works properly in IE6. Sorry!

  26. 26 carlus

    Thanx very much for this. I had been fighting for hours with WP in order to get a menu like this one, and wasn’t succesful. I’ll work with your code adapting the css and hope I’ll get it this time! :)

  27. 27 fikdesign

    thank’s

  28. 28 Stan

    This is a great dropdown implementation. However, I am having a similar problem to the lightbox issue. I use the google calendar plugin and the menu bar stays on top when I open a calendar event. Anyone know how to fix this or the lightbox issue?

    Thanks.

    I will check here or email me at sgmace@gmail.com

  29. 29 Tig

    Anyone have a z-indexing problem where the 3rd level of navigation appears below everything else in IE? If so, how’d you fix it?

  30. 30 Jerry

    After reading your post I went and tried the menu and wow it worked great. I then went and tested it with IE 6.0 and found it wasn’t working… bummer. So I thought O must be doing something I’ll try it again with a basic page with just the menu – still wouldn’t work. SO then I went back to your sample and tested it with IE 6.0 and it worked fine. SO I copied your page code word for word – uploaded it to my server – Added the wp tested it and it would not work on my server. Any Ideas? The script woks fine with all browsers beside IE 6.0

    Here are a couple examples.

    http://www.mixedmediawebsites.com/tikigaq-2009/
    http://www.mixedmediawebsites.com/tikigaq-2009/test.php

  31. 31 Jesse

    Anyone have any idea how to turn this into a horizontal dropdown like the one in http://www.wanderinggoat.com/ ? Changing to display:inline will not work for me. Any help much appreciated. Thanks!

  32. 32 Corné Wielemaker

    Cool stuff, I will implement and style it soon on my blog (http://blog.cornewielemaker.com)

    Thanks.

    Corné.

  33. 33 Dennis

    I’m trying to add these drop down menus onto the header on the top. Works like a charm when I just have wp_list_pages(’sort_column=menu_order&title_li=’). However, if I add an “include” statement to filter the headings, it no longer works. Any ideas? Would it be just as easy to reorganize my pages so I don’t need the include statement? Thank you in advance.

    Dennis

  34. 34 Paul Dickinson

    Hi!

    Is it possible to do this, and have the drop down menu split into two columns?

  35. 35 Alex brooke

    Awesome drop down menu, I have installed it but I want to center the menu. Any ideas on how to do that?

    http://earthembassy.org/test/

  36. 36 Camilo

    Awesome tip and menu! Thanks for sharing! :)

  37. 37 Iqbal Husain

    Hi Thanks alot..

    awesome script..

    and exactly i want this..working great..:)

  38. 38 Igor

    Thank you, this is great and so simple….

    Cheers!

  39. 39 Dave

    This is exactly what I’ve been looking for. I’m trying to get the drop down menu to be centered on the theme but have not been able to figure it out. My CSS isn’t great. Any help would be greatly appreciated.

    Thanks.

  40. 40 First L

    Thx for this :D If you don’t mind I will post this on my blog with a link to your blog.
    I’ll translate the contents to romanian but you will recognize your post from the codes.
    I also will try to make a vertical version of this menu.

    Cheers !

  41. 41 ty

    i can’t believe i’m asking this but i’ve played with the css and i’m stumped.
    how do i make the drop down menu items narrower. it’s blocking out the name of the
    site.

    thanks for any help
    ty

  42. 42 ty

    Anyone? Bueller? website: http://www.markgrowden.org

    thanks

  43. 43 foxtrott

    @ty: recheck all code, has sth. to do with right order, width and floating of the menu ul and the header h1.

  44. 44 David Supriyadi

    I want bulid new website for http://www.preefurniture.com with good theme and SEO freindly to have high ranking on google, yahoo and others search engine. Can you help Us?

  45. 45 ty

    My client keeps bugging me about the drop down menu erasing the name of the artist on the website. the block that the menu items are contained in is twice the size of the text. i’ve gone to each bit of css and tweeked it and nothing alters this drop down box size.

    Does anyone know how to reduce the size of the box?

    website http://www.markgrowden.org

    Thanks
    Ty

  46. 46 ty

    is anyone reading this at all? i feel invisible.

  47. 47 Richard

    TY:

    Replace the bottom of your CSS with this:

    #dropmenu, #dropmenu ul {margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; z-index:300; background:#000; font-weight:bold;}
    #dropmenu a {display:block; padding:0.25em 1.0em; color:#ccc; border-right:1px solid #191919; text-decoration:none; background:#000;}
    #dropmenu a:hover {background:#191919; color:#ccc;}
    #dropmenu li {float:left; position:relative;}
    #dropmenu ul {position:absolute; display:none; top:1.9em; left:-1px;}
    #dropmenu ul a {border-left:1px solid #191919;}
    #dropmenu li ul {border-top:1px solid #000;}
    #dropmenu li ul a {width:5.2em; height:auto; float:left; border-bottom:1px solid #000;}
    #dropmenu ul ul {top:auto;}

    #dropmenu li:hover ul ul, #dropmenu li:hover ul ul ul, #dropmenu li:hover ul ul ul ul {display:none;}
    #dropmenu li:hover ul, #dropmenu li li:hover ul, #dropmenu li li li:hover ul, #dropmenu li li li li:hover ul {display:block;}

  48. 48 web

    this has saved me lots of time

  49. 49 hasfa

    Thanks guys. this really great and simple.

  50. 50 John

    I’m using this method on a site I’m building. I have the navigation wrapped in a separate class and it’s causing one big problem for me ONLY in IE8. The height of the navbar doubles in height. You can see what I mean here.

    I would appreciate it if someone could help me figure this out. Thanks in advance.

  51. 51 RMCGraphic

    I can’t get the dropdown to z-index over in IE on my nav which is 3 lines. Anybody have a solution for this? Works fine in FF, but not in IE. Herez the nav– http://www.synergydentalutah.com/

  52. 52 Webdesign Vlaanderen

    Hey

    Thanks for the tutorial. Nice piece of code.
    Just the z-index 300 is a bit high. Works fine with a 5.
    I had some trouble with my thickbox plugin because of it.
    Solved it with setting it 5.

    Good work. Thanks.

  53. 53 Yaie

    This doesn’t work on Google Chrome. Any idea why?

  54. 54 adedip

    The best technique I found so far!
    is there a plugin for that? If not..I don’t think is that hard to implement.. ;)

  55. 55 adedip

    @Yaie it does work to me with Chrome, check if u did something wrong ;)

  56. 56 Schwaib

    Hi. Its really simple and nice… i need to know what can i do if i wanted to show an arrow when a submenu item contains child and don’t show arrow sign when there are no child under a sub menu item????

  57. 57 Madi

    The menu works great for me, but I wanted to add a dropdown list with one of my categories. I managed to include just that one, but I have no idea how to make a dropdown list with the subcategories. This is my first time creating a Wordpress-theme and I’m not that good with all the functions yet.

    Great tutorial though! Thanks alot.

  58. 58 Michelle

    Everything is working great with this plugin. However, the drop down menu will not go away when I am no longer on the link.

    http://estudioray.com/demo/CRV/

    Can someone please provide me with some insight? I am not sure how to fix that.

    Thank you!
    Michelle

  59. 59 Ivan Soto

    thannnnnnkkkkk youuuuuuuu!

  60. 60 maxi web design

    thanks guys for the simple tutorial…

    great work

  61. 61 prem

    Hi,
    i have working on a website using Thematic theme, i am facing a problem with second level drop down menu. it appears behind the SWF(Flash Object)
    Here is the link: http://www.publivate.ca/wordpress/wordpress/

    2. I tried to set the z-index in the CSS but, its not working, Please help me i have very short deadline to launch the website.

    will appreciate any help
    Thanks
    Prem

  62. 62 Urvi

    Its really the shortest and the quickest method i have ever learnt! :)

  63. 63 Mahmud Ahsan

    Thank You. Your this article and code save my time.

  64. 64 Narga

    Its looks more better with down-arrow image. I’ve tried but can’t do it

  65. 65 tanya

    hey this script saved my life. I spent so much time looking for the perfect navigation and yours ended up being it!

    Quick question, is it possible to exclude pages?

  66. 66 OMnom

    too barebones in fact.

  67. 67 Jono

    Stanley thanks for a handy bit of code there. I tried a couple of wordpress css/jquery plugins and tutorials and yours was definitely the best. I was wondering whether you could help me with getting rounded corners on the menu? Square blocks don’t match my design elements.

  68. 68 Sabrina

    Thank you very much for publishing this!

  69. 69 Meko6

    Nice Tutorial man!
    I have the same question as Tanya. I’ve tried

    but there is no exclusion happening, what am I doing wrong?

  70. 70 Thinley Tobgay

    Hi,
    These Tips are great, it displays the drop down menu…But when i navigate to the sub pages the submenu disappears, but when i go back to the front page the sub menu displays fine again. in short, the drop down menu displays only in the fron page and not in other pages.
    Any help is appreciated

  71. 71 Levi Szekeres

    Hi, Stanley! Can I get a prize, since this is the comment with #100?
    I just want to thank you for the menu. It’s easy and doesn’t get in conflict with the rest of the jquery elements in wordpress.
    You saved me, just when I thought there is no such thing, after a few days of search and work.
    Happy New Year! btw

  72. 72 Pravin
  73. 73 David

    Finally, one that actually works! Thank you!

  74. 74 Chris Boggs

    Stanley! Thanks so much for this brief and concise tutorial. I was able to implement this code in 90 seconds. You included everything needed (not done often or by many) and provided me with a valuable functioning solution. To go the extra mile I would mention to beginners to make the subpages children of parents. You are appreciated. Sincerely, Chris Boggs

  75. 75 Huzoor Bux
  76. 76 Sandra

    Thank you, thank you!

    Perfect solution – simple and elegant.

    Implemented at http://www.trilliumwaldorfschool.ca/ – under development at this date.

    Sandra

  77. 77 ziggy

    stanley, thanks!!! this exactly what i was looking for :) )
    very well written too i have to say :) )
    good things will happen to you!

  78. 78 Cynthia S

    Great script! Being somewhat of a newbie in all of this – is there a way that I can link my menu items directly to a url? I’m really new to php but does it have anything to do with:

    Thanks a bunch!!

  79. 79 Oleg

    Thank You Very Much!

    I avoided using heavy plugins…

    Simple and clear code. I used it for 2 level dropdown menu. This is my CSS for evidence selected voice or page curently visited, i used class=”dropdown” instead of id=”dropdown”:

    .dropmenu a, .dropmenu a:link, .dropmenu a:visited, .dropmenu a:active{

    display:block;
    padding:0.25em 1em;
    color:#686868;
    text-decoration:none;

    }

    .dropmenu a:hover, .dropmenu ul a:hover{

    color:#000!important;
    background:#f7f7f7

    }

    .dropmenu .current_page_item a, .dropmenu .current_page_item a:visited, .dropmenu .current_page_parent a, .dropmenu .current_page_ancestor a{

    color:#000;

    }

    .dropmenu .page_item ul li a, .dropmenu .page_item ul li a:visited{

    color:#686868;

    }

    .dropmenu .page_item .current_page_item a, .dropmenu .page_item .current_page_item a:visited, .dropmenu .page_item .current_page_parent a:visited, .dropmenu .page_item .current_ancestor a:visited{

    color:#000;

    }

  80. 80 Oleg

    How can i add a little delay on displaying menu and on rollout? Thanks in advance.

  81. 81 Rick

    “Hi. Its really simple and nice… i need to know what can i do if i wanted to show an arrow when a submenu item contains child and don’t show arrow sign when there are no child under a sub menu item????”

    Same question for me! Please help me out…

  82. 82 ziggy

    Oleg, you are amazing!!!!! Thank you so much for additional css (for highlighting parent directory), i was beating myself crazy with this few days ago.

  83. 83 ziggy

    and of course, biggest thanks to Stanley :)

  84. 84 prevajanje v angleščino

    Very nice tutorial. I must try it on my site.
    For delay settings you could try with the jquery.delay.js library.. it’s just javascripts timeout function jquerified.

  85. 85 Ethan H

    This is great! Is there a way to simply ad a class or id to the parent li so that it retain a hover styling while the mouse is on the sub menus?

  86. 86 capcut

    nice tut :-) but i ve a small problem, perhaps anyone of you knows how to solve it… if i klick on a category or pages (however) the whole menue disappear … it disappears only if i am in the categories or pages, but i can see the menue on the start page and article pages …

    anyone has an idea what the prob is ?

    greets capcut

  87. 87 capcut

    ok, back again, i solved my problem .. ;-) my wp template has 3 differnt headers :D greets cc

  88. 88 ChuckyMcGun

    Thanks for the tutorial. I was wonder if you know how I can get the navigation sub-menus to open from right to left. When the last navigation slot on the far right opens to the 3rd tier, it gets cut off by the edge of the screen. I would like it to open towards the left.

  89. 89 Abdullah.OKM

    Hai,great work.Keep Post More for US.

  90. 90 Happy

    BEAUTIFUL it works prefectly =) Many thanks!

  91. 91 xwr

    Hi, great code, im using it for a clients website.
    Is it possible to have rollover tabs at the toplevel? Like the sliding doors technique?
    Any dropdowns can be just plain. How to?

    Thanks for the help.

  92. 92 xwr

    Great tutorial, I am using the script for a clients site and could do with changing the top level nav links to ’sliding doors’ tabs with rollover effect. The drop downs can be plain, does anyone know how to target these links and not effect the dropdowns?

    Thanks Again

    xwr

  93. 93 ruetty

    Why doesn’t it work with wp_get_categories?? Is there a possibility to make that working too?!

  94. 94 Amy Larsen

    I had a very special area that needed a drop down menu. Other scripts just wouldn’t cooperate with the existing styling. After three days I found your code and it worked like a charm on the first try! You just spared me from another sleepless night of code running through my head trying to figure it out. The only thing I had to change was that I was already running a JQuery document. I had to change the JQuery to $ to fit the existing code that I was already running and change #dropmenu ul {position:absolute; display:none; width:12em; top:1.9em; left:-1px;} to top 2em to fit my existing padding and presto a drop down menu. Thanks for the great post.

  95. 95 Andrea Urzúa Assler

    Hello, first of all thanks for the tutorial, works great for me.
    I have a question, is there any way to remove the link in the “parent” page when chilpages?

    I hope someone can help me,
    Thanks!

  1. 1 » Great little Jquery | by Mayur Jobanputra
  2. 2 superjavason » 我收藏的网站
  3. 3 links for 2009-05-16 - Patrick :)
  4. 4 Activity 2009-07-28 | Adam Horne.
  5. 5 Drop-Down Menu: Usefull CSS Scripts to Enhance Header Navigation | guidesigner.net
  6. 6 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Technology you can trust here...
  7. 7 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation - Programming Blog
  8. 8 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Fulldigi
  9. 9 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Internet Marketing Tips and Strategy To Make Money Online
  10. 10 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Download E-Books Free Video Training Courses Softwares
  11. 11 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Mac Bargains
  12. 12 30 Tutorials Combining Both Wordpress and jQuery : Speckyboy Design Magazine
  13. 13 30 Tutorials Combining Both Wordpress and jQuery | huibit05.com
  14. 14 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation « test
  15. 15 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | X Design Blog
  16. 16 30 Tutorials Combining Both Wordpress and jQuery | .::tek3D Weblog::.
  17. 17 Build Your First Wordpress Website Part 2 : WordPress 4 real
  18. 18 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | MEN blog . net
  19. 19 Drop-Down Menu: 30+ Useful Scripts To Enhance Header Navigation « Photoshop.vn – Your Design Resource
  20. 20 jQueryでワンランクアップするWordpressのプラグイン・チュートリアルいろいろ - WEB制作.Hack
  21. 21 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Lunch Time Laugh
  22. 22 30+ Drop Down Menu Scrips | oOrch Blog
  23. 23 30 Tutorials Combining Both jQuery and Wordpress
  24. 24 30 Tutorials for Using JQuery in Wordpress | oOrch Blog
  25. 25 jQueryでワンランクアップするWordpressのプラグイン・チュートリアルいろいろ | WEB制作.Hack
  26. 26 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | 9Tricks.Com - Tips - Tricks - Tutorials
  27. 27 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Graphics
  28. 28 30 adet css drop down menü | FaydalıWeb | Internetin Faydalı Yüzü
  29. 29 Wordpressプラグイン導入 « Geecrat
  30. 30 使用JQuery實現WordPress多層下拉導航 | 網絡觀察者 Zack Live - 澳門網頁設計師及網絡觀察者
  31. 31 使用JQuery实现WordPress多层下拉导航 | 网络观察者 Zack Live - 澳门网页设计师及网络观察者
  32. 32 links for 2010-02-13 | Mecanographik
  33. 33 Drop Down Menu | Paul Cracknell
  34. 34 25+ jQuery Drop Down Menus, CSS Multi Level Drop Down Menu | DHTML & Javascript | Online News & Entertainment
  35. 35 CSS меню - подборка материалов | Сайт Александра Башкирова
  36. 36 30 Tutorials Combining Both Wordpress and jQuery | Coyot [at] CanalCoffee.com : WordPress
  37. 37 WordPress プラグイン セレクション Vol.1 | WebLab
  38. 38 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation | Tut7
  39. 39 30 tutorial para utilizar jQuery en nuestro Wordpress | code
  40. 40 Drop-Down Menu: 30+ Useful Scripts to Enhance Header Navigation - www.huedesigner.com

Leave a Reply