Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28

javascript:myFunction() as primary URL from menu


Poster: vlaad
Dated: Thursday June 12 2003 - 0:46:31 BST

I used the syntax "javascript:myfunction()" as the URL to get javascript to run from the menu which works fine.... IF it's the secondary URL. Used as a primary URL, the menu doesn't see the MouseOver & change color, and disappears. If you click on the item quickly enough it will run the javascript, but the menu behaves as if there is no link there to click. Is there anyway to fix this... I've been experimenting with using "#" or "" as the primary URL, along with a few other things... please let me know if you have any ideas. If you'd like to take a look at the behaviour, i can't post the URL here for the site for security reasons, but contact me directly and i can give you the link directly. THanks for the help!