[thelist] In need of a javasript

Kevin Smith k.smith at tatnet.com
Thu Jun 21 15:50:02 CDT 2001


Steve Randa wrote:

> I've got a small popup browser window that I wish to remain open for a
> specified amount of time then close by itself and refresh the parent
> window to a new location. Is there such a thing?

Something like this:

function closeRefresh(){
    opener.location.href='newPage.htm';
    self.close()
    }
                 
<body onload="setTimeout('closeRefresh()',5000);">
                                           ^ delay in milliseconds

--
kevin c smith
tatnet, inc.
e: k.smith at tatnet.com
t: 410.571.9462
f: 410.571.9442





More information about the thelist mailing list