menu code is being called twice

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
rfkarlin
Beginner
Beginner
Posts: 1
Joined: Wed May 29, 2002 8:30 pm

menu code is being called twice

Post by rfkarlin »

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