silverswim
Programmer
Hi again.
I am still trying to get the pop up to only come up once at the start of each browser session. Now my code is :
function doCookie(){
if (document.cookie != document.cookie)
{ var the_date= new Date("January 15 2099"
;
var the_cookie_date=the_date.toGMTString();
var the_cookie = the_cookie_date;
document.cookie=the_cookie;
MM_openBrWindow('popUpWindow.htm','FreeTrial','resizable=no,width=250,height=250');
}
}
thats in the head, and in the body, onLoad calls it.
So i am basically seeing at the start of each session if there is a cookie. If not, then I set one, and pop the window up. Otherwise, the page should load normally. However, no pop up appears ever.
Thanks whoever can help,
Silverswim
I am still trying to get the pop up to only come up once at the start of each browser session. Now my code is :
function doCookie(){
if (document.cookie != document.cookie)
{ var the_date= new Date("January 15 2099"
var the_cookie_date=the_date.toGMTString();
var the_cookie = the_cookie_date;
document.cookie=the_cookie;
MM_openBrWindow('popUpWindow.htm','FreeTrial','resizable=no,width=250,height=250');
}
}
thats in the head, and in the body, onLoad calls it.
So i am basically seeing at the start of each session if there is a cookie. If not, then I set one, and pop the window up. Otherwise, the page should load normally. However, no pop up appears ever.
Thanks whoever can help,
Silverswim