compiled by thepcsweb.com
86
Using JavaScript
lExecuting a JavaScript action when a menu selection is made is either a three or a four-step process, depending on how complex the action needs to be.
lFirst, for any menu applet that you want to use JavaScript with, you must add the MAYSCRIPT attribute to the <APPLET> tag
–Without this, the JavaScript just won’t run
–Example
<applet Code="apPopupMenu.class" Width="597"
        Height="28" MAYSCRIPT>
<param name="Copyright" value="Apycom Software - www.apycom.com">
 ...
<param name="menuItems" value="...">
</applet>