Hello,
i want to put an javascipt code in a submenu like :
aI("text=<SCRIPT language="JavaScript">menu.Aff();</SCRIPT>;image=image_2.gif;");
this line is displayed in my page in html : <SCRIPT language="JavaScript">menu.Aff();</SCRIPT>
It doesn't work and i can't resolve this problem.
Regards,
Alexis
Help please : javascript in submenu
Hi Alexis,
A javascript function call goes in the url property of the item's aI() string, like so:
Hope that helps,
Kevin
A javascript function call goes in the url property of the item's aI() string, like so:
Code: Select all
aI("text=Item Text;image=image_2.gif;url=javascript:menu.Aff();");
Kevin