View Full Version : onMousever vs Clicked on

11-13-2006, 10:20 PM
1) Script Title: AnyLink CSS Menu

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

3) Describe problem: Installed the script and it works great. would like to tweak one little thing though. I would like for the menu to appear when the user clicks on the anchor instead of when they just mouse over it. IS that possible?

11-15-2006, 09:40 AM
Firstly, edit the anchor link to use onClick instead to call the dropdownmenu function:

<a href="http://www.dynamicdrive.com" onClick="dropdownmenu(this, event, 'anylinkmenu1'); return false">Anchor Link</a>

Then, use the attached modified anylink.js file instead.