Javascript function called twice when image used in menu

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
tedg
Beginner
Beginner
Posts: 1
Joined: Tue Nov 12, 2002 11:13 pm

Javascript function called twice when image used in menu

Post by tedg »

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.
Post Reply