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:37
menu code is being called twice
Poster: rfkarlin
Dated: Wednesday May 29 2002 - 20:35:43 BST
I have created a menu whose items call javascript functions. However, I have found that the javascript functions are being called twice. Does anyone know why this might happen?
Here is my menu code:
addmenu(menu=["edit",
,,,1,"",menu_properties,,"left",effect,,1,,,,,,,,,,
,"<IMG src='<%=imageRoot%>topframe_sub_print_off.gif' border=0>","javascript:printIt(); swapimage=<%=imageRoot%>topframe_sub_print_on.gif;",,,1
,"<IMG src='<%=imageRoot%>topframe_sub_back_off.gif' border=0>","javascript:goSCSList(); swapimage=<%=imageRoot%>topframe_sub_back_on.gif;",,,1
])
Thanks,
Robin