PDA

View Full Version : AnyLink Drop Down Menu - Question



chadgeek
05-20-2005, 12:23 AM
http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

I really like this script, but was wondering if the Header links can also be clickable, and not just the submenus.

So like on the demo you have at the above link, "Web Design" would also be a clickable link in addition to the submenus under it.

Thanks!
Chad

ddadmin
05-20-2005, 12:43 AM
Certainly. Disabling the header link was by design, though if you wish to make them clickable, just modify the code of Step 2:


<a href="default.htm" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, menu1, '150px')" onMouseout="delayhidemenu()">Web Design</a>

Remove the onClick="return clickreturnvalue()" portion from the above.

chadgeek
05-20-2005, 01:32 AM
oh yeah, that works perfectly for me.

thanks!