24
Nov

JavaScript Drop Down Menu

This multi-level drop down menu script weighs in at only 1.2 KB. It features animation, active header persistence, easy implementation and multiple instance support.

To initialize a drop down menu use the following code:

var menu=new menu.dd("menu");
menu.init("menu","menuhover");

You must create a new menu object before initialization. The parameter taken by menu.dd is the variable name used for the object. The object.init function takes 2 parameters: the id of the menu unordered list and the id of the initially sorted column (optional). If you want to exclude a column from sorting then add class=”nosort” to the appropriate table header. The styling of the table is totally customizable via CSS.

This script has been tested in Firefox 2/3, IE 6/7/8, Opera, Safari and Chrome. Note that submenu animation is currently unavailable in FF2 and Opera but do does not affect the functionality of the drop down menu. Please send any bug reports to michael@leigeber.com with the title “BUG REPORT”. This script is available for any personal or commercial projects and is offered AS-IS, NO FREE SUPPORT PROVIDED.

Click here for the demo.

Click here to download the source code.



1 Digg Spread This

189 Responses


If Elvis was alive he’d call you the king.
This is awesome.
Much thanks

Pierre on 24 Nov 2008 at 2:13 am

Really really amazing… thanks a lot! I always use your js… They are always the better one!

Eduardo on 24 Nov 2008 at 3:14 am

since the prototype method became robust there a lot of tools outcoming such as this one, and you made it a good job. I’ve love this very much, by the way, can i change teh background as well? in order to fit my needs? anyway i’lljust look over the files. thanks a lot

weblizzer on 24 Nov 2008 at 4:13 am

[...] un menú desplegable con varios niveles realizado con JavaScript, que he encontrado en JavaScript Dropdown Menu with Multi Levels en [...]

Menú desplegable con varios niveles con JavaScript » Cosas sencillas on 24 Nov 2008 at 4:24 am

Great script as always, a problem that I’ve had with these types of dropdown menu’s in the past is if the multiple level links are near the edge of the screen, once opened they appear outside screen.

A possible solution might be to check the browser width, get the location of the mouse, perform a check and if its going to open outside the screen make the links appear to the left instead of the right. Anyway thanks for the script.

James on 24 Nov 2008 at 5:09 am

I’ve been trying to make good looking dropdown menus with like these for ages – and failing. I’ve been wasting my time – these are superb and perfect for my needs. Thanks.

Bob on 24 Nov 2008 at 6:03 am

Is it possible to add a delay when the cursor leaves the dropdown? One of my main gripes with using CSS only nav menus is that once the cursor goes off the edge of the link – it closes the menu system too quickly. Sometimes this makes the menu hard to use. With JS menus, some of them add a delay to fix this issue.

Tim on 24 Nov 2008 at 7:41 am

Thank you man.

sinan on 24 Nov 2008 at 8:03 am

wow….. thanks for the useful script.

Designer on 24 Nov 2008 at 9:13 am

Wow, cleanest JS drop down I’ve sen in a long time. Thanks for sharing!

Richard on 24 Nov 2008 at 9:34 am

James & Tim – Thanks for the suggestions. These will be in the next version if not before.

Michael on 24 Nov 2008 at 9:37 am

[...] This script has been replaced by a newer script with multi-level support here. [...]

Sliding JavaScript Dropdown Menu - Web Development Blog on 24 Nov 2008 at 9:49 am

Very nice. The fading is used very well.

Thanks!

Timothy on 24 Nov 2008 at 12:24 pm

I just so happened to need to make a multi-level context-menu script from scratch soon because I couldn’t find anything that was just <em>part</em> of a larger javascript library or an extension to one. Thank you so much for making this. (I hope it isn’t to hard to keep the menu dynamic and repositionable)

Elijah Grey on 24 Nov 2008 at 3:38 pm

good job! both visual effects and code concision

seektan on 24 Nov 2008 at 7:46 pm

This is one of the nicest menus around. Nice work! I am having one small problem in IE 7. The sub menu items start flickering once they’ve become visible. Any ideas on what’s causing the problem? Also, the width is not rendering the same between FireFox and IE. IE is much shorter in the width. I double checked and even removed all the other code from this file thinking that it was some CSS I had in there that was making the menu flicker and size differently. View the page in both browsers and you’ll see what I’m talking about.

Don Blaylock on 24 Nov 2008 at 11:35 pm

One Additional note: I tried your demo in IE and it works fine. I suspect that the problem is related to my putting the menu inside a <TD> tag. I’m going to rip it out and try that. Just thought I’d post this so no body would think there’s a problem in your code. Although this might be considered a limitation. :o )

Don Blaylock on 24 Nov 2008 at 11:42 pm

OK I found the problem to all these issues. It was in the header or meta tags somewhere. Not sure exactly what it was but I just copied all the code from the HTML tag down to the BODY tag and it fixed everything. Sheeeesh! :o )

http://blueridgesoftwareinc.com/SU/NewWebSite/

Don Blaylock on 25 Nov 2008 at 12:09 am

Great Job! Could you make it work with Right-to-Left sites too?

Reza on 25 Nov 2008 at 12:58 am

It does not degrade gracefully without js.

elvisparsley on 25 Nov 2008 at 1:01 am

I couldn’t make the drop downs work with the keyboard. Would it pass 508? and is it accessible to keyboard only users?

Nancy on 25 Nov 2008 at 7:25 am

One small point… I incorporated this into the site I’m building and found that the test page I was working on didn’t validate with W3C. When I had a look at the html I found that the first <li> tag and last </li> were the problem. The menus work exactly the same once they’re removed too.

Bob on 25 Nov 2008 at 8:42 am

@Reza – The change would be css-based only. Just alter the left position of the sub unordered lists.

@elvisparsley – I will work on the degradation as soon as possible.

@Nancy – Not currently but I will be sure and include this in the next version if not before.

@Bob – Thanks for catching that, it was actually just the first <li> that needed to be removed. The script has been updated.

Michael on 25 Nov 2008 at 8:53 am

The Menus look beautiful. Gr8 job Michael.

Sai Gudigundla on 25 Nov 2008 at 10:19 am

I will look forward to seeing this work with the keyboard. Other than that it looks good.

Nancy on 25 Nov 2008 at 11:21 am

one more tiny little thing… and this one’s really weird (or I’m too stupid to spot what’s going on), if the dropdown menus appear over an element that is css position:relative that element overlays the menus but only in IE7 (I haven’t checked IE6) but this doesn’t happen in FF for pc or mac or Safari. It’s not a problem for me because all I had to do was set a minus margin value instead and it works fine.

Bob on 26 Nov 2008 at 9:52 am

Hi, Im having problems using the code, it keeps giving me the message “menu.st is not a function” in firebug on firefox. Does anybody have any ideas as to why this is happening?

Thanks

Justin on 26 Nov 2008 at 2:43 pm

@Bob – Thanks for the heads up, I will look into it.

@Justin – I would need a link http://www.leigeber.com/contact/

Michael on 26 Nov 2008 at 2:47 pm

[...] Menu dropdown multinível em javascriptCustmomizando e implementando suas páginas de erro [...]

Links for 2008-11-27 [del.icio.us] | Blog do Camillo - O dia-a-dia de um Desenvolvedor Web on 26 Nov 2008 at 8:34 pm

[...] This is an easy to implement multi-level drop-down menu. [...]

Lightweight Multi-Level Drop-Down Menu | Greep It on 26 Nov 2008 at 11:44 pm

Amazing !!, so flexible, so simple ..css guru’s dream.
You’ve done a great contribution. Thank you.

Daniel Arnolf on 27 Nov 2008 at 11:51 pm

[...] November 27, 2008, 3:35 This news item was posted in Resources category and has 0 Comments so far. This is an easy to implement multi-level drop-down [...]

Lightweight Multi-Level Drop-Down Menu | SulVision on 29 Nov 2008 at 8:54 am

Brilliant menu thank you for sharing it with us.

Arthur on 29 Nov 2008 at 3:31 pm

[...] Fulciniti si è esercitato con i CSS a replicare quello di Facebook, Michael Leigeber propone un leggerissimo script di facile configurazione (1,2kb) per realizzare questo menu multilivello con [...]

Serve un menu dropdown? | Fidicaro.net on 01 Dec 2008 at 5:12 am

Michael – Thanks for the script. I sent you an email with a few problems I was having with the original drop down menu (without multi-levels) and I’ve since resolved most of the problems. One is particularly irritating though: only in FF3, the vertical spacing of the list items is way too much. It basically has stretched out the menu with more space between choices. Since it only happens in FF3 I’m assuming it’s not a CSS error (I have other CSS sheets affecting my pages), do you have any ideas why it’s doing this/how to fix it?

Brandon on 05 Dec 2008 at 4:35 pm

Hello,

On my site I have two menu but I can’t realize both to work.

Can you tell me solution of problem.

Ivo on 08 Dec 2008 at 6:47 am

I love how the menu works in IE7 but for some reason I am having major problems with firefox 3. When I scroll over the drop down bar it display at the top of the screen and also the home button always lights up too no matter what button my mouse goes over. I know I have a few errors but so far have not been able to figure out the problem. Any ideas?

Mitch on 08 Dec 2008 at 6:55 am

@Mitch – this could be a FF3 propogation problem, perhaps using the stopPropagation() function on the mouseover events would help, so the parent element mouseover doesn’t fire too. Great code though, i will have to try prototypes. I like the funtions assigned to variables, looks elegant :)

Luke on 10 Dec 2008 at 6:48 am

When i put the dropdown menu into my site there is a gap on top of the dropdown menu and i cannot find anything that is causing that. there is a banner in one of its own cells then the dropdown is in its own cell below it.

Please contact ASAP

Dylan on 10 Dec 2008 at 11:02 am

oh i just noticed, it works in Internet Explorer but not in firefox

Dylan on 10 Dec 2008 at 11:04 am

I have Firefox 2.0.0.18. it work excellent but in IE 7 I have shit.

When site is load it is ok but when mouse is over menu, menu start blinking end open-close as such.

Ivo on 12 Dec 2008 at 2:10 am

useful scripts ! thanks

mobilya on 14 Dec 2008 at 5:17 am

nice-artical

francis.augustin on 15 Dec 2008 at 10:48 pm

It seems to have an issue in firefox. I tried to rollover one of the list items with an arrow to spawn a sub menu, and when trying to rollover the sub menu the entire menu resets.

METAPHIZIKS on 16 Dec 2008 at 2:43 pm

[...] and free java script drop down menu with multi levels from leigeber.com. I really like this script because it has a beautiful effect and light weight. If you’re [...]

Free Download JavaScript Dropdown Menu with Multi Levels - WebStockBox on 17 Dec 2008 at 9:38 am

@Don Blaylock
i’ve got the same flickering of 2nd level menu in IE6. After opening some submenu once it doesn’t close on mouseout and keeps flickering.

Looks like it appears in IE if the embedding html doesn’t use the doctype transitional:
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>

Alice on 17 Dec 2008 at 10:18 am

Nice script, easy to use… Still aesthetically pleasing – hard to do sometimes – ;)

Denver Web Design on 18 Dec 2008 at 5:58 pm

Not compatible with IE dude
the menus goes blinking after selected

asdf on 18 Dec 2008 at 10:05 pm

Everyone complaining about the “blinking” just doesn’t have their HTML setup right and is missing the proper <!DOCTYPE> stuff that is shown in the example HTML. Please make sure you follow his example code closely.

On another note, I have been using this script for a while and I’ve noted that once in a while on a fresh page load, the 2nd level menus wont open up till I move off the menu, and come back to it and try a second time. This seems to be in IE mostly but i think firefox is having issues too. Any ideas?

Keith on 19 Dec 2008 at 11:08 am

Very cool tutorial, thanks for sharing.

Kayla on 21 Dec 2008 at 1:01 am

It appears that these drop down scripts will not drop down over the top of flash. I am running a simple viewer gallery & the script willnot drop over the top of it… any suggestions? thanks

Brad on 22 Dec 2008 at 12:28 am

please i need a script java and php scripts for 3 to 4 drop down options when i click on the first one it loads to the second one when i click on this second it laods the third one when i click on the third it loads to the fourth

andrew jebose on 22 Dec 2008 at 9:22 am

Hi,

I’ve implemented your dropdown menu, and it looks beautifull. I only have a problem with IE7. When I integrate it in my forum, the dropdown appears under the forum. Look here > http://comparenetbooks.org/forum/ . Any idea how to fix this ?

Thanks in advance.

Antares on 25 Dec 2008 at 12:05 pm

Fantastic! This is wat i’ve been looking for…

However, Is there any way i can remove the parent/child node in runtime?

hunter on 26 Dec 2008 at 2:07 am

@Ivo – You must first create a new object and then you can initialize it as you did the first.

@Mitch – I do not see that issue in my demo. Send me a link where you are experiencing the problem.

@Dylan – I would have to see it. It might be something as small as a white space.

@Brad – The issue is actually with your flash. I believe it is the wmode you need to set to transparent on your flash object.

@Antares – I would suggest first looking out how you have floated your layout and also try setting a high z-index on the dropdown container.

@hunter – I am confused by your request. Please clarify what you are wanting to achieve.

Michael on 26 Dec 2008 at 12:29 pm

I want to create two menus in one page… the problem is that the 2nd one dosnt drop down. I cant understand how to make that new object. If isnt a problem to you, can you explain how and where to create that new object.
Its really important.

edgy on 27 Dec 2008 at 9:18 pm

[...] Очень красивая ява менюшка с полупрозрачностью и приятными переходами. Также есть вертикальный вариант, и многоуровневый вариант. [...]

Красивые менюшки на JavaScript | aazd on 28 Dec 2008 at 1:36 am

I love this script, but how do you integrate it with Wordpress? If I have a dynamic sidebar, how do I get the proper classes/ids defined within the HTML in my header.php when it is calling wp_XXX WordPress functions?

Dave on 30 Dec 2008 at 6:45 am

Super menu! Was searching for something like this a long time.
Thanks man

Filip on 31 Dec 2008 at 9:36 am

I’m not a java guy and the fact that someone will put this up for all to use is unbelievable. What I’m trying to work out is how to have one script for many html pages. My current site has a java menu that I can change one file and have the changes show up on all of the pages. This script would be PERFECT if it could do the same thing.

JSigned on 31 Dec 2008 at 1:53 pm

Hi Michael

Thanks for this great menu!

I’m no programmer and this script did exactly as I wanted, it works a dream.. allows longer sub menu’s than the top.. most truncate the words!

More important it works seamlessly in both IE and Firefox!

Do you have a way of donating for this.. via PayPal or something.. it’s worth the money as it helped me no end :o )

Paul on 03 Jan 2009 at 5:22 pm

Hi Michael,
I am looking for a way to remove some of the list item at certain circumstances. For Example, referring to your demo above, am I able to remove Navigation Item 4 under Dropdown One when page load?

hunter on 04 Jan 2009 at 7:19 am

Hi, I’m noticing the exact same problem that METAPHIZIKS had. This is even in your demo too. The peculiarity it this:

It works great in IE, it works great in FF on windows, but when run in FF on LINUX this problem is happening, where if you try to rollover to a submenu, it just resets the whole menu!

I’ve tried this on two peoples PCs running linux, with FF 3.0.5.
Running it in FF 3.0.5 in windows doesn’t have this problem!

Any ideas? It would be appreciated as I have this running on a live site now :(

It is beautiful though aside from that quark, thanks a million.

patrik on 04 Jan 2009 at 8:57 am

Very very nice one!
I love it: it’s easy to use and fast
Very good work!

Adi Ulici on 06 Jan 2009 at 2:27 pm

nice work ,easy to use

overfight on 07 Jan 2009 at 12:09 am

any word on the linux issue? i’ve noticed it too even yur demo is not workin on linux

medleji on 11 Jan 2009 at 9:20 am

Great script, but the drop-down speed seems a little slow for my liking. Is there a variable I can adjust to increase the animation speed? (Or even better, make the menus appear instantly?)

Naman on 12 Jan 2009 at 8:33 am

Hi and thankyou thankyou thankyou! Amazing script. I Have a weird question that maybe you assist with.. I want to include a dropshadow on the dropdown menu, but my javascript experience is quite limited. Can you suggest a method? I don’t mind researching if you pointed me in the right direction.

Thanks again!

Daedalus on 13 Jan 2009 at 12:56 pm

when i change this part of de .js:
if((h<=0&&f!=1)||(h>=c.mh&&f==1)){
if(f==1){c.style.filter=”; c.style.opacity=45; c.style.overflow=’visible’}
clearInterval(c.t); return
}

… and add

c.style.filter=’alpha(opacity=45)’ to get the opacity all the time, it dones’t show me then the submenues, need hwlp, i want that the whole menu appear almost transparent, how do i do that????

cynthia on 13 Jan 2009 at 5:34 pm

hi great work dear,

i just want to ask that can we use delay with this menu so that when the cursor stays on menu for let say 10 sec. and the menu then disappears.. means when the user is ideal doing nothing just mouse pointer is on menu for 10sec the menu just disappear

Aaqib Mukhtar

aaqib mukhtar on 15 Jan 2009 at 1:20 am

This menu is awesome. Thanks so much. Just wondering if its possible to get the menu to stay open when you click on it? I still want it to disappear if you roll off it unless you click on it? Any help would be great!

cuppycakes on 17 Jan 2009 at 7:20 pm

also. how could i get this to be centered?

cuppycakes on 18 Jan 2009 at 8:30 am

Hey, love your script.

I have a question for you. How do I set up and initialize 2 separate menus? For example, one on the bottom and one at the top of the page?

Greta on 21 Jan 2009 at 6:58 pm

After a little playing around, I got it. Took me a while to realize that it had to be first in, last out as far as setting the var and initilizing it.

<script type=”text/javascript”>
var menu2=new menu.dd(”menu2″);
var menu=new menu.dd(”menu”);
menu.init(”quicklinks”,”menuhover”);
menu2.init(”main”,”menuhover”);
</script>

Greta on 21 Jan 2009 at 7:07 pm

[...] 3. JavaScript Dropdown Menu with Multi Levels [...]

» 10 Brilliant Multi Level Navigation Menu Techniques on 22 Jan 2009 at 12:04 am

[...] 3. JavaScript Dropdown Menu with Multi Levels [...]

jordandots » 10 brilliant Multi Level Navigation Menu Techniques on 22 Jan 2009 at 9:33 am

This is great, but what is the dd.prototype.st ?

I am trying to get it working with a page that also has jquery. I am thinking of just rewriting it as it is very simple. Nice work!

rick on 22 Jan 2009 at 10:35 am

with jquery on the same page I am doing the init in a separate javascript block and the error I get is:

w has no properties (on line 5 of the javascript file.) I tried making the commas semi-colons, but that still didn’t help. Any ideas?

rick on 22 Jan 2009 at 10:59 am

AWESOME script!!

Is there a way to control the up/down speed independently – the down dropping slower than the return rising?

THX for sharing! Nice looking website too.

Chris S on 22 Jan 2009 at 5:30 pm

p.s. Here’s how I put it to use:

http://www.kychildnow.org/index.php/test

I’d really like the menu to close instantly (or closer to it) while the down happens nice and slow.

Very cool stuff. TY again

Chris S on 22 Jan 2009 at 7:11 pm

Hi,

I want to use it on my page. But if I take the full directory of source codes, where should I keep them?

Thanks.

supriya on 23 Jan 2009 at 1:15 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

10 técnicas para menús multinivel | Clearfix on 23 Jan 2009 at 8:39 am

Great functions. Thank you. One problem I ran into is that the code doesn’t work when the menu unordered list is included in the document via a prototype ajax Update() call. The script tag including the javascript is included in the main document. The menu itself is included via HTML that is inserted via an Ajax call. The menu doesn’t work in this case.

Phippster on 25 Jan 2009 at 1:08 am

Hey thanks a lot man!

This is a great script, I’ll make sure I put it to good use :-)

The only thing I desire is a delay on mouseleave like Tim also noted, without that its pretty… quick lol!

speed on 26 Jan 2009 at 9:43 am

Hi
This is a great script! I’m doing this site for a non-profit and it looks great in ff, but when I previewed it in IE7 the lis are not floating left, but stacking. I think its my CSS, but for the life of me I can’t find it. Any ideas?
Thanks

Steve Clark on 29 Jan 2009 at 12:15 pm

Excellent menus; just what I was looking for. However, I’ve encountered an odd disparity between IE7 and Chrome; I’m using your downloadable example to play around. In Chrome the dropdown menus occlude the text as I’d wish and expect. In IE7 the text displays over the dropdowns. Adding z-index:-1 to the CSS for the text <div> works a round the problem, but is there a better solution? Am I (or the CSS) missing an opacity setting somewhere? You may gather that I’m no expert!

John on 29 Jan 2009 at 4:26 pm

Just to add to my earlier post; I had created two instances of the menu tree, ‘top’ and ‘bottom’, each within its own DIV for positioning. The text is in a third DIV, and the whole lot within a ‘wrapper’ DIV.

In Chrome the dropdowns occlude the text, but in IE7 it seems to require the addition of z-index:-1, otherwise the text display over the dropdowns.

john on 30 Jan 2009 at 3:33 am

How do the t, z and s variables govern the time? I’ve experimented with a few different values but it seems a bit strange.

Also is there any way of making this work in Quirks mode? I’ve got an issue with css in IE6 so have had to force it into Quirks mode using <?xml version=”1.0″?> but this seems to provide the blinking issue mentioned above.
However, in standard mode I solved the blinking issue by using charset=iso-8859-1 in the content-type meta tag.

Seb on 01 Feb 2009 at 10:36 am

Oh thank you sir. You are a genius. After suffering the IE flickering due to using the wrong doctype, I also ran into the position:relative problem. But now it is working beautifully. Thank you for sharing – you rule.

Grant on 01 Feb 2009 at 3:15 pm

Abay yaar kia banadia to nay ho hee pagal saray

Pata Nahe on 03 Feb 2009 at 6:44 am

oh my… finally found it. Big thank you Michael!

Mark Rivera on 07 Feb 2009 at 5:50 am

If one wanted a version where the menus ope upwards, rather than down, what would need to change ikn the javascript (I’m no java programmer). Thanks for an excellent set of menus.

John on 08 Feb 2009 at 5:26 pm

Hello all prenz. I’m new here. so sorry I’m not good in english. I really like this menu add for my website b’cuase it’s so nice n smooth dropdown I havent seen b4. many times I try to do with ur source code but still cannot realised in my web. plz if anybodi here can help me. I’m very proud of u all guys.. thanks u so much..of course to our webmaster here..u r very great..

Hasfa on 08 Feb 2009 at 7:49 pm

Hi,

In IE 6.0 version, menu keep on flickering. It’s working fine in mozilla firefox. Html doc type had set up properly. It’s same like in the provided code. I could not nail down the problem . Any suggestions ? Shankar.D

shankar on 10 Feb 2009 at 12:11 pm

Hi Frnds,

Can anyone tell me the solution how to solve the flickering problem in IE 6.0 version. Thanks in advance.

shankar on 10 Feb 2009 at 1:43 pm

I’m shocked. Unbelieveable. The beauty in this is how little java code there is behind it. Just 33 lines. I looked at others that were not half as nice and they took hundreds and hundreds of lines of code to handle each type of browser. You are king!!!!

Thomas Dilts on 11 Feb 2009 at 11:03 am

your code is absolutely insightful, it is like C code expressed in javascript or something
great work, i’d love to see your work in jquery modules, hope you include such versions in scriptiny

dimitris on 14 Feb 2009 at 5:48 pm

First off – these menus are fantastic as are many of the other widgets on your site!

I was also battling the IE constantly moving menus. I have changed the DOCTYPE and charset and that seems to solve the problem, for the most part.

I do however see a lot of flicker when moving my mouse horizontally from one top menu/list item to the next. for example, It looks as if when moving my mouse from left to right, when leaving one item and going onto the next, not only does the new pulldown display, but part of the old one also displays to the right of the new one. It looks like the old one is still partially active and thus positioning itself to the right, relative to the new pulldown.

Hopefully this makes sense – it’s really hard to explain. the site is not live yet, so I can’t give a URL.

Any help would be greatly appreciated. Keep up the great work!
-John

JohnnyR on 15 Feb 2009 at 4:32 pm

Hello Michael,

I’d like to use your elegant script for the drop down menu in an educational toolset we’re developing at UC Berkeley, CA. I need the menu to appear on “onclick” instead of as a rollover. I adjusted the the DT area to:

<dt id=”one-ddheader” onclick=”ddMenu(’one’,1) onmouseout=”ddMenu(’one’,-1);”></dt>

This has the desired effect, but if I mouse quickly on and off the menu a few times it jams up, and will no longer present the full menu on a subsequent onlick.

If you have a moment, could you lend advice on how to safely modify your script for onclick behavior?

Thanks much,

Matt Fishbach
UC Berkeley School of Education

Matt Fishbach on 18 Feb 2009 at 12:54 pm

Cynthia,

I’m having the same issue with giving the menu an opacity < 1 in IE. It works fine in other browsers by adding this to the stylesheet:

ul.menu { ……….; opacity: 0.8; }

I know that IE doesn’t support “opacity” in CSS and needs a “filter: alpha(opacity=80)” instead, but depending on where I place it, it either does nothing at all or it doesn’t make the submenus appear.

Has anyone successfully made the entire menu partially transparent? Again, I had no trouble in Firefox but it just won’t work in IE.

Thanks for your help!

-Kurt

Kurt on 18 Feb 2009 at 4:55 pm

Great script thanks.

Im trying to make the dropdown from images, has anyone done that?

Can i see an axample or some advice? The first dropdown works great but cant get the 2nd one to work.

Im going to have to do about 5 of them from different image links.

Thanks

Lance on 26 Feb 2009 at 1:58 am

Hi!

I found a solution to this problem: when you put a border to the UL element of the sub-menu, the side of the border isn’t calculated, so the whole sub-menu don’t disappeared.

I had to had this part in the code, to substract the border size to the offsetHeight of the element:
try{var border = getComputedStyle(c, ”).getPropertyValue(’border-top-width’);}
catch(e){var border = c.currentStyle.borderWidth;}
border=parseInt(border.substr(0, border.length-2))*2;
var h=c.offsetHeight-border;

Perhaps there is an more efficient and beautiful way to do it, but I think it can be useful.

Thanks for your great work!

Joel on 27 Feb 2009 at 8:26 am

Hi,

Awesome script, exactly what i’ve been looking for. I’m looking to use the slideup version of this menu, but am struggling to see the difference in code between it and the dropdown version. Is anyone able to tell me where i should be looking and what code i should be changing? It’d be a massive help!

Thanks,
Neil.

Neil on 02 Mar 2009 at 6:48 am

This is a great script, I used it to one of my projects. GEEZ Thanks!!!! Easy to configure and customize!

Good Job Man!

Eneza on 04 Mar 2009 at 1:02 am

this is great! how would you make submenu1 horizontal?

michael on 04 Mar 2009 at 5:11 pm

If you have your sub-level ul’s wider than your menulink’s, in IE 7, the sub-level ul’s will keep the menulink widths until the animation is done. After it finishes, the sub-level ul’s will then expand to their correct width.

Not a huge deal, but it’s sort of ugly. Any particular way to avoid this? Doesn’t happen in FF (3).

Thanks in advance. Otherwise, this setup is brilliant!

Adam on 07 Mar 2009 at 2:55 pm

Michael,
I am really new at this and I don’t know where to insert this in the css file.. I have tried lots of possibilities, but I am lousy at this.. Could you help by explaining me as detailed as possible?
Thanks!

Ioana on 09 Mar 2009 at 6:49 am

Michael,
This is a great script, I am using it to one of my projects. I am having a little trouble here in displaying the menu list in a different frame, the top menu items would display in one frame. Would you please help me in fixing this.
Thanks in advance.

Kiran on 10 Mar 2009 at 4:42 am

wow nice, best fader as one commentator said..i agree

bruneiblog on 11 Mar 2009 at 2:59 am

I’m really new at this website building and this is exactly what I wanted. It works great and I’ve managed to put images in the menus. One issue I see is in Firefox, when user clicks on a menu and then uses the browser back button the whole list stays open and you need to refresh it to make it normal again. Doesn’t do this in IE7. How can I get it to refresh when the back button is used. Here is a test address of the site I’m working on. Not finished yet.
http://www.ceravolo.com/new/COSweb/index.html

Debra

Debra on 11 Mar 2009 at 9:54 am

This really is a great script, thank you! Many posts back, someone commented that it doesn’t degrade gracefully with Javascript turned off. I’m wondering what exactly they mean. With Javascript disabled, the drop down effects don’t work, rendering those menu items hidden. But, the layout of the page is maintained, and your main level navigation is intact (as it is all CSS and HTML based). This worked excellent for me because the main menu links go to a “section index” anyway, where those sublinks are available in a different form. The drawback is that it takes two clicks (instead of one) to reach the content you really want. I can live with that. Besides, for browsers that don’t take advantage of CSS (i.e. for the blind) those submenu items certainly will show, in the proper flow of the HTML. Sweet!

Thank you, Mr. Leigeber, for setting this fantastic script loose for the rest of us.

John on 12 Mar 2009 at 2:38 pm

Great script!
I’m having one issue upon load. The menus slide to the left on the first hover and then are okay. I’m sure there must be a css setting I have misconfigured. I’m thinking I need to change the setting for padding.

George Golden on 14 Mar 2009 at 6:45 am

Ver nice script! I’m wondering if it could open upward. I have a menu that lines the bottom of the website and would like it to go in reverse direction. is that possible with your script?

chip on 16 Mar 2009 at 1:19 am

I appreciate the code. It works great. I am using it to demo a little project, and didn’t have time to write it myself. Looks great!

William Kitchings on 16 Mar 2009 at 11:41 am

Hi Thanks for the dropdown menu. Awesome code!!!

I have one problem in IE7. Every time you mouse over the menu the menu drops perfectly and then expands to the right… Can any one help see link below. Is it a CSS problem?

http://www.retail.org.au/index.php?theme=ara-skin

shaun on 16 Mar 2009 at 9:44 pm

Amazing! Awesome! Great script, I love it, keep scripting.

ksj on 18 Mar 2009 at 12:19 am

One bug I would like to report which shows up clearly even on your own example with a IE7 browser. To repeat the bug, 1.Open your demo in an IE7 browser. 2. Make the window so narrow that the menus form 2 rows. 3. Put the mouse on the upper row menu and you see that the upper row menu gets hidden behind the lower row menu. This is only in IE7. Mozilla works perfect.

Thomas Dilts on 18 Mar 2009 at 1:25 am

this has got to be the nicest, slickest menu which maintains perfect simplicity on the internet! I’ve been looking for one for a while now, and nothing compares to this. thanks so much.

James on 18 Mar 2009 at 9:45 am

Thank you for this powerful script. It saved me a lot of time !

Kim on 19 Mar 2009 at 2:24 am

anyone having problems with IE8? I downloaded it today and the title words on my menu boxes are shifting a few pixels to the right after they drop down. This didn’t do that with FF or IE7. It’s annoying. Don’t know what to do about it.

Debra on 19 Mar 2009 at 4:22 pm

IE8 is slowing down the Javascript dropdown animation. Why am I not surprised.

Debra on 20 Mar 2009 at 8:40 am

This is great, working with all the different browsers. (The one I am currently using screws up with Firefox and Chrome.) But is there a way of saving the actual menus in the javascript, so that if a menu item is changed, that change is reflected in all of those menu displays?

Craig on 23 Mar 2009 at 9:11 am

Hi mate,

I love your menu, very nice and helped me a lot.
I am trying to understand your scripting in the javascript file.
is there some sort of documentatoin that describes the functions?

Cheers

Miguel on 24 Mar 2009 at 6:09 am

Thank you, it appears quite useful for visitors such menus))

Bold Endeavours on 25 Mar 2009 at 8:35 am

I love your menu, but I need a vertical with flyout, with the top level as a link. Any thoughts on making one like this?

Sno on 25 Mar 2009 at 2:42 pm

Hi, thanks for this wonderful plugin. However, as it’s pointed avobe, if the submenu is wider then the menu item, the animation gets ‘cut’, only deploying its full size after a time. Did anybody fix that ?

Thanks in any way, it’s a very cool code.

ignacio on 25 Mar 2009 at 7:24 pm

Hi guys, for those who have a flickering problem in IE6, I solved it by giving a height to the ///ul.menu ul li a///.

What I did : ///ul.menu ul li a{height:2em;line-height:2em; /*other properties here*/}///

Can you tell me if that fix it for you ?

Independently of that, I have a slow performance in Firefox. Does someone have any clue about what can it be ?

(With a fresh copy-paste from the demo I have the problem anyway, so it must be some element in my html/css which disturbs the code).

ignacio on 26 Mar 2009 at 6:27 am

Hi,

I love your scripts, and am trying to implement this one onto a clients site. I am having a problem with IE7 though that the menu seems to go into a continuous flicker. The page is fine on Firefox though.

Any ideas what I have got wrong – it is something in the code as the demo works fine.

Also, I am struggling to set the lengths of the top level boxes and the dropdowns to be the same. Again sometimes I can get it right in Firefox and sometimes in IE7, but never in both.

Must be me, but can’t work out what is wrong

Thanks

Jason on 26 Mar 2009 at 10:58 am

Thanks a lot! Congratulations on this amazing script, keep up the great work.

Chaim on 26 Mar 2009 at 11:26 am

found the issue it was my doctype – works perfectly now thanks. Love it!

Jason on 27 Mar 2009 at 9:16 am

hey.. thnks lots for developing this script.. Its really cool!!
i’ve included it in a website of mine.. but m having some problem..

the drop-down menu that comes up when hovered on the main menu tabs.. shows beneath the div tags on the web-page…. so plz tell me a way to move the drop down menu to the front of everythin… this is happening only in the IE..
Kindly do reply asap!..thanks!..

Ashish on 29 Mar 2009 at 8:10 am

This menu is just so easy to install and style. Thank you so much!!

Webslinger on 29 Mar 2009 at 11:48 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus | Vandelay Design Blog on 30 Mar 2009 at 7:50 pm

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus | FamousandSpicy on 30 Mar 2009 at 8:29 pm

[...] JavaScript Dropdown Menu with Multi Levels [...]

Web Page Design For You » Blog Archive » 25 Scripts for Dropdown Navigation Menus on 30 Mar 2009 at 8:46 pm

I tried to implement it on a site but the drop-down menu goes behind the google ads.

Vinay on 31 Mar 2009 at 12:49 am

[...] 14.JavaScript Dropdown Menu with Multi Levels [...]

25个很不错的下拉菜单脚本收集 | 前端观察 on 31 Mar 2009 at 7:08 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

25个优秀的下拉菜单导航脚本 « inthinking iphone on 01 Apr 2009 at 4:08 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus « WebTaste | Tasting everything online on 01 Apr 2009 at 4:58 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

25个优秀的下拉菜单导航脚本 | 互联网的那点事... on 01 Apr 2009 at 6:47 am

Instead of having each menu side-by side, I would like to use this code for a vertical menu. To that end I have changed the menu floats from ‘left’ to ‘top’. It works fine except that the a small gap appears between each menu – but only after a menu has been activated.

Greygoat on 04 Apr 2009 at 7:37 pm

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus on 07 Apr 2009 at 1:52 pm

I ADORE this menu. It’s hot!!! Thank you!

I have an issue in IE7 and IE8 that i see posted above by shaun as follows. Has there been any fix for this yet?

<previous post here>
Hi Thanks for the dropdown menu. Awesome code!!!

I have one problem in IE7. Every time you mouse over the menu the menu drops perfectly and then expands to the right… Can any one help see link below. Is it a CSS problem?

http://www.retail.org.au/index.php?theme=ara-skin

shaun on 16 Mar 2009 at 9:44 pm

Brigitte on 07 Apr 2009 at 3:22 pm

Hi, really great job!
On my site there were some problems with SAFARI.
SOLVED: in my page code there are some other simple script loaded.
Putting the dropdown-menu script tag to be the first loaded… the problem was solved.
Simply :)

thanks, M.

Michele on 08 Apr 2009 at 4:49 am

very nice!thank you

niced on 08 Apr 2009 at 8:50 pm

Hi everybody,
For people who have experienced a bug in IE 7 (child menu are invisible), just replace this line:
if(c.mh==c.offsetHeight){c.style.overflow=’visible’;}
by this one:
if(c.mh==c.offsetHeight){c.style.overflow=’visible’; c.style.filter=”;}

Thank you for the author, this scrip is really impressive :-)

Mokrane from Algiers :-D

Mokrane on 09 Apr 2009 at 6:53 am

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus | Easy Street Interactive Blog on 10 Apr 2009 at 9:59 am

Thanks so much for the code!

I found to create multiple menu objects on a page (e.g. for 1 menu in each table cell to avoid wrapping issues) I had to remove the var menu=function(){} from the js and create new objects w/ var menu1=new dd(”menu1″); var menu2=new dd(”menu2″); etc

Not sure if this is the best practices way, but may help others!

frdev on 10 Apr 2009 at 2:24 pm

Hello sir, I am a newbie in javascript. I saw your code and design. It was fantastic. But I am having some difficulties understanding your code. Could you please help me out by explaining your code? It will be very helpful for me….

Archangel on 11 Apr 2009 at 3:03 am

Brigitte – I struggled with the same problem where the menu would ‘pop out’ to the right of the expected size in IE. I found that if I set a small width to ul.menu ul the problem goes away…hope that helps.

It seems that in IE and Safari, the drop down menu box and text are about 2px longer than in FF (you can even see it in the demo, before any changes are made). So, when you define each list item and center it, as I have done at – http://s280121601.onlinehome.us/ashgrovegardens.net – it just doesn’t look good in IE and Safari – has anyone run into this?

Jesse on 12 Apr 2009 at 3:01 pm

Nice post & drop down method. Its very useful to me.

Vinoth Kannan S on 16 Apr 2009 at 2:27 am

I too am having the issue in IE7 where sub items that are wider than the parent are restricted to the width of the parent until they’re done expanding to their full height.

As a workaround I’d be happy to turn off the expanding effect and just stick with the fadein effect.

Can anyone tell me how to turn off the expanding effect?

Tom on 17 Apr 2009 at 2:16 pm

Thanks, a very useful menu!

I’ve rewritten the code a bit for Prototype, as I’m using it on a Magento (http://magentocommerce.com) site and can make it available if there is interest (th.geist@spamsucks@googlemail.com).

Nightfly on 21 Apr 2009 at 6:14 am

@ignacio: The width issue is also fixed in my version.

Nightfly on 21 Apr 2009 at 6:17 am

The script works really well in FF an Saf. but it’s a little buggy in IE. and only on 2 pages but not all. All the pages are consistent so I am not understanding why only 2 pages are affected. Can you help me with this. It’s truly frustrating. . and I love this script..

Also, someone said that it doesn’t work over flash? I put my flash in iframes on the page so that it doesn’t conflict with AC_run.. ..js script needed for flash. It works fine. .

kristin on 23 Apr 2009 at 2:25 pm

[...] JavaScript Dropdown Menu with Multi Levels [...]

25 Scripts for Dropdown Navigation Menus | Designurimagination Blog - Let Your Imagination Fly on 27 Apr 2009 at 8:44 pm

[...] This script has been replaced by a new with multi-level support here. [...]

Sliding JavaScript Dropdown Menu « Web Development Bangladesh on 28 Apr 2009 at 4:44 pm

Awesome script. Have been using it for a while now.
Ran into a problem in IE though. Something that hasn’t been mentioned.
Any advice from anyone who has used this would be greatly appriciated!

If you place the menu on a transparent background div, in IE, the drop down menus don’t appear! As soon as you take off the opacity the menus work like a charm… Any ideas or suggestions for this?

Nick on 29 Apr 2009 at 10:55 am

Hi,

For those who are having problems with IE, especially IE7, Use: *+ html before your CSS code. I usually don’t like hacks but this works for IE7 and IE 8 doesn’t need it but if you want to keep IE7 customers, use it. Basically copy the CSS code and put *+ html in front of another line of the same code and IE7 recognizes it.

Debra on 02 May 2009 at 9:51 pm

@Nick
Try to give the ul.menu li a higher z-index than the div with the background

Lukas on 08 May 2009 at 4:12 am

This is really well done, Michael. It seems to work in all the browsers I’ve tried it in, EXCEPT…get this…Firefox 3 in Linux! Go figure!

I’m using Firefox 3.0.10 on Ubuntu 9.04. The first-level menu pulls down just fine, the submenu pops out fine, BUT, when I try to move the cursor into that submenu, the first-level menu rollls everything back up. It doesn’t do that in Firefox 3 on Windows or Mac OS X.

Very peculiar.

Dan Delaney on 08 May 2009 at 8:05 am

This is fantastic!

I’m getting great results in all browsers, except for a small discrepancy I’ve found in IE7. I’m using Windows XP with the ClearType function enabled, though I notice in IE7 that the text in menu items (but NOT the main ‘menulinks’) is displayed as though ClearType is disabled.

I’ve placed a screen shot demonstrating this at http://www.arostudio.co.uk/menu.gif, with normal text shown for comparisson.

Has anyone experienced this and/or know a workaround?

Adam on 11 May 2009 at 10:49 am

This is just great! But there needs to be a delay when you leave the menu as it makes it very difficult to select items that fan out. Is there any way to add a 1000ms delay onmouseout? That’s the only flaw with this script…

Lung on 14 May 2009 at 12:38 pm

Thanx for the great menu.
I have i question someone already solved but it does not work here..

I create 2 menu
<ul class=”menu” id=”footer”>

<ul class=”menu” id=”header”>

and i use:

var menu2 = new menu.dd(”menu2″);
var menu = new menu.dd(”menu”);

menu.init(”header”, “menuhover”);
menu2, init(”footer”, “menuhover”);

Then only the header menu is working???

Can someone help me…

Thanks in advance..

Greetings,
Jos

Jos on 17 May 2009 at 2:35 pm

This menu is going behind other items on my webpage. Well the drop down lists are.

Is there a way to prevent this from happening?

Wayne Burrows on 18 May 2009 at 11:25 pm

Awesome-ness! Nice work mate. Super Slick!

Ben on 21 May 2009 at 4:44 pm

@ ignacio

Nope it didnt solve the flickering for me. I will implement it on my site and see what happens. I will only need one menu to dropdown maybe that will help the issue.

Ben on 21 May 2009 at 4:52 pm

Nice work!
It took me a while to get the menu items to stop appearing below some other items in IE.. I see a few others are having the problem. This sorted it for me in IE7: put the entire <ul> inside a div with a high z-index

<div id=divMenu style=”z-index: 500; position: relative”>

Sam on 26 May 2009 at 2:43 pm

[...] 3. Çoklu Seviye JavaScript Açılır Menü [...]

10 Mükemmel Çoklu Seviye Menü Tekniği | kumsaati | XHTML, CSS, Creative, AJAX, Design, Tutorials, Web 2.0, Web 3.0, on 26 May 2009 at 11:45 pm

Love the tut/code but I am a nubee – When I apply the code it changes the entire background to the color of the button… is there a way I can make them transparent or just allow the button to be the light gray?

Thank you for your help
George

George on 27 May 2009 at 4:59 pm

fantastic code thank you so much, it’s clear and clean, a pleasure to look at!

question for you tho:
i have been trying to implement this code on a site with quite a few top menu buttons.
i am trying to keep those buttons on the same line (instead of them cascading down to several lines when i collapse the browser box).
for some reason, if i can make them static on one line (overflow hidden if box is too small), the drop down stops functioning, and if i try clumsily embedding into a table, functionality also disappears. any ideas?
it’s driving me insane!
thanks again for making this code available to others ^^

zaki on 28 May 2009 at 1:13 pm

oh well i found a way around it nesting some tables around the code now! ^^ hurrah! now working the height of the dropdown slide :)

zaki on 28 May 2009 at 5:58 pm

@METAPHIZIKS. @patrik, @medleji, @Dan Delaney

I too have problems with certain Fedora distros (FC6 & FC10 not working; FC9 works – go figure).

If anyone solves this issue please post your fix.

TIA. Mike

MikeC on 29 May 2009 at 7:25 pm

I am using agent,

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008
Firefox/2.0.0.8

and it renders ok.

However my opera agent
Opera/9.64 misbehaves..

ok in
IE 8.0.6001

simon on 01 Jun 2009 at 12:59 am

You scripts are the best out there. I love using these as a lightweight alternative to frameworks like JQuery and MooTools. Nice work!

Michael on 03 Jun 2009 at 6:38 am

Having a pretty serious problem with flickering on all versions of IE that i’ve tried.

http://www.gundogsupply.com/consys.html

Also having a problem with the width of the cells in IE. Looks and works perfectly in Firefox and Chrome.

All help would be greatly appreciated.

Already tried the doctype.

Otherwise, it is great. Clearly the problem is something i’ve done, as it doesn’t do this in the demo in IE.

Kirby on 09 Jun 2009 at 9:33 am

@Adam and others, the solution you're looking for (for the width jump in IE) is:

c.style.width=200

Add it to the .js file so the string would look like this:

if(!c.mh){c.style.display='block'; c.style.height=''; c.mh=c.offsetHeight; c.style.height=0; c.style.width=200}

Change "200" to whatever width you need.

Steph on 12 Jun 2009 at 2:13 pm

First, I also want to say thanks for this effort. I am having the same flickering problem that Kirby is having. All versions of IE are flickering like crazy. Works perfectly in Chrome and Firefox. I'll check back in a day or two to see if this has been fixed.

Reg Natarajan on 15 Jun 2009 at 1:49 am

@Adam and others… to solve the issue of the width problem in IE:

add this to the line in the .js file:

c.style.width=200

so it will look like this:

if(!c.mh){c.style.display='block'; c.style.height=''; c.mh=c.offsetHeight; c.style.height=0; c.style.width=200}

(Changing "200" to, of course, whichever width suits you.)

Steph on 15 Jun 2009 at 10:22 am

Update on the problem:

Uploaded unedited files to the site to see if it was a problem with some of my editing and the problem persisted.

Don't know what the deal is. Any help would be GREATLY appreciated.

Kirby on 16 Jun 2009 at 9:51 am

I read above that some guys are asking about how to add multiple instances of this DropDown menu. It is something easy to do once you get into it heh!.

I had a requirement for a site to implement a DropDown like this in a GridView (ASP .NET), So this means that the number of instances of this DropDown was depending on the records shown in the GridView.
In other words, the DropDown is generated totaly dinamically.

If somebody needs to do something like i described above, please feel free to contact me via email at miguelitoxd@gmail.com so I can provide you the code.

Mike Medina on 19 Jun 2009 at 1:03 pm

[...] JavaScript Dropdown Menu with Multi Levels – [...]

In the Woods - Multilevel Menus with jQuery and CSS on 24 Jun 2009 at 9:53 am

I believe I have a solution for those in need of a transparent background in the subnav items. NOTE: this has been tested on IE6 (PC), IE7(PC), Firefox3 (PC), Firefox3 (Mac) and Safari (Mac) only and ONLY applies to background colors, not background images.

In your Javascript, replace the last twelve lines of code with the following:
function sl(c,f){
var h=c.offsetHeight;
if((h<=0&&f!=1)||(h>=c.mh&&f==1)){
if(f==1){c.style.filter='alpha(opacity=92)'; c.style.opacity='.92'; c.style.overflow='visible'}
clearInterval(c.t); return
}
var d=(f==1)?Math.ceil((c.mh-h)/s):Math.ceil(h/s), o=h/c.mh;
c.style.opacity='.92'; c.style.filter='alpha(opacity='+(o*92)+')';
c.style.height=h+(d*f)+'px'
}
return{dd:dd}
}();

Everywhere you see the number 92, this number represents the opacity. It will need to be the same in every place but you can set it to any number between 1 and 100 with 100 being fully opaque or 0 being transparent. I wanted something just barely transparent so I went with 92. *BE SURE to only replace the numbers in this new code. Some are decimals and you don't want to lose those points.

Then in your CSS, set a background color for ul.menu ul li Again, this is only for background colors in the subnavs, not for background images. Good luck.

Caspergrl on 24 Jun 2009 at 12:15 pm

[...] JavaScript Dropdown Menu with Multi Levels – [...]

Multi-level Drop Down Menus | Themeflash on 26 Jun 2009 at 1:40 am

Yes, i've also have flickering problem on IE 6. Is there any solution?

akatsuki on 26 Jun 2009 at 7:41 pm

In my experience the flickering problem is caused by padding or margins being added in select areas of the style sheets. I can't recall which places I had padding/margins in the past that caused the problem but once I removed it it fixed the issue.

Caspergrl on 30 Jun 2009 at 8:54 am

I was planning to use this menu for a new website and I had two questions. If the dropdown part becomes too long, it won't fit in the screen. Is it possible to create columns in a dropdown part? In my case the will be short team names in it.

My second question is if it would be possible to convert this menu into a slide up version? I have seen another version on this site with a slide up option, but I can't find out how to change this dropdownmenu into a slide up.

Erick on 02 Jul 2009 at 6:38 am
Trackback URI | Comments RSS

Leave a Reply

RSS Feed | Email
Powered by FeedBurner
Recent Links