PDA

View Full Version : AnyLink Drop Down Menu Problems



XeN
05-05-2007, 01:42 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: The script works fine for the links that expands under it. However the link itself doesn't work. I realize that the same thing happens with demo, where there are 3 links as such:


Web Design | Technology | News Sites (onclick)

When you click on "Web Design", it shows it links to "http://dynamicdrive.com/dynamicindex1/default.htm" but when you click on it , nothing happens.

Is this a bug or is it supposed to work like that?

Any help would be appreciated. Thanks!

jscheuer1
05-05-2007, 02:24 PM
That is how it is supposed to work. To get a onmouseover 'header' link to work, just get rid of this:


onClick="return clickreturnvalue()

To get an onclick 'header' link to work (which in most cases would be pointless), change this:


onClick="return dropdownmenu(this, event, menu2, '200px')"

to:


onclick="dropdownmenu(this, event, menu2, '200px');return true;"