View Full Version : AnyLink CSS Vertical Menu - on click rather than hover?

12-06-2006, 08:04 PM
1) Script Title:
AnyLink CSS Vertical Menu

2) Script URL (on DD):

3) Describe problem:
Hi everyone

I was wondering if it's possible to change the behaviour of the AnyLink CSS Vertical Menu script so that the vertical menu pops up when you click the link rather than hover over it.

Is that possible?
Or does that represent a pretty major change in the working of the script?

Thanks in advance


12-06-2006, 08:14 PM
On the contrary, it's very simple. Take:
<a href="http://www.dynamicdrive.com/" onClick="return clickreturnvalue()" onMouseover="dropdownmenu(this, event, 'anylinkmenu1')">Web Design</a>And instead use:
<a href="http://www.dynamicdrive.com/" onclick="dropdownmenu(this, event, 'anylinkmenu1');return clickreturnvalue();">Web Design</a>

12-06-2006, 08:25 PM
Wow, excellent stuff.
Works straight away.

Thanks for the quick reply! :D

12-06-2006, 11:44 PM
Just had one funny thing happen with this though.
It seems the first time you try and activate it on the page, you have to give it a double click, or 2 consecutive single-clicks.

From then after a single click works fine.

This happens in both IE 6 and FF 1.5

Any ideas or is it just something weird?


12-07-2006, 11:43 AM
Hm, sounds odd. Do you have a demo page?