Reno CF
01-23-2003, 02:48 PM
I would like to incorporate a "Pop-it menu" script into a page. The config is pretty straightforward, and I have it working exactly as I want, except for one thing -- I'd like one of the sublinks to launch a small popup window.
The popup window code I want to use is:
onclick="return openInfo('HTML/pageaddress.html');" href="pageaddress.html">
And I need to place that code in the "popit menu" at this location in the script:
linkset[1]+='<div class="menuitems"><A HREF="-------.html">Page Address</A></div>'
So the question is: How do I replace <A HREF="-------.html"> with the popup onclick, to make it work? Just substituting one for the other brings up all kind of error codes.
Any help is appreciated..........
The popup window code I want to use is:
onclick="return openInfo('HTML/pageaddress.html');" href="pageaddress.html">
And I need to place that code in the "popit menu" at this location in the script:
linkset[1]+='<div class="menuitems"><A HREF="-------.html">Page Address</A></div>'
So the question is: How do I replace <A HREF="-------.html"> with the popup onclick, to make it work? Just substituting one for the other brings up all kind of error codes.
Any help is appreciated..........