I've got a bit of code which displays a disclaimer to a site, unless there's a cookie there to prove the user's been there already.
Just now, it opens a new window when the cookie is accepted, using:
Quote:
function page()
{
writeCookie('comply','1',30);
window.open ('ats_index.htm');
window.close()
}
|
I'd like, however, to just forward the user to the index page in the same browser window - rather than in a 'new' browser window. I presume this is easy enough if you know how(!)
Anyone know?
Dave