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: Wednesday July 18 2012 - 06:07:18

Javascript function called twice when image used in menu


Poster: tedg
Dated: Tuesday November 12 2002 - 22:22:46 GMT

When creating an image menu item and associating a javascript function with the item, the function is called twice when the user selects the item.
,"<img src=test.gif border=0>", "javascript:alert(\"hello\")",,,1


If I remove the image association and replace with text, the function is only called once when the user selects the item.
,"test", "javascript:alert(\"hello\")",,,1

If you do a search for "twice" in the message board Search, you will see this issue identified by other developers with no responses. Please advise.