June 25th, 1999, 01:53 PM
Would someone please be kind enough to talk me through the script to use with onUnload to open another web page? Thanks in advance!!
[This message has been edited by Lauren (edited 06-25-99).]
June 25th, 1999, 07:34 PM
There's a very good tutorial on opening new windows by Charity Kahn on C|Net. It's old, but easy to follow, plus there's a "Cool Tool to help you build the windows. You'll find the tutorial at http://builder.cnet.com/Programming/...97/toolwb.html and the Cool Tool at http://builder.cnet.com/Programming/...97/toolwb.html
Using onLoad or onUnload is pretty simple after that, you just place it in the BODY of the document, like this:
<BODY bgcolor="white" text="black" blah blah blah... onUnload="function()">
...where "function" is the name of the function that does the job of opening the window. In the case of Charity's Cool Tool, it would be onUnload="openWindow()".
Hope this helps,