compiled by thepcsweb.com
89
Using JavaScript
lWell, why not just create your own JavaScript routine and call that from the menu?
–Your JavaScript routine is located anywhere in the code
–Call your routine as the VALUE from one of the <PARAM> tags
–Example
 
<SCRIPT Language="JavaScript">
function open_win(inFile)
{ if (confirm('Open a new window?') == true)
  { open(inFile,'window','scrollbars,width=680,height=600') }
}
</SCRIPT>

<param name="javascript:1" value="open_win('index.html')">

<param name="menuItems" value="{Open window,javascript:1,_}">