1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    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).]
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    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,

IMN logo majestic logo threadwatch logo seochat tools logo