kenny121
09-09-2003, 11:30 PM
Hi there,
I have a petty standard java script on my index.htm page. The problem is if I go to www.abc.com/index.htm the pop up works but if I goto www.abc.com it does not pop up. Does any one know what gives?
The code I have is:
ie
On pop up window:
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=100');");
In the BODY tag of index.htm
<BODY onLoad="javascript:popUp('www.xxx.com')">
ANY help greatly appreciated,
Kindest regards,
Ken
I have a petty standard java script on my index.htm page. The problem is if I go to www.abc.com/index.htm the pop up works but if I goto www.abc.com it does not pop up. Does any one know what gives?
The code I have is:
ie
On pop up window:
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=200,height=100');");
In the BODY tag of index.htm
<BODY onLoad="javascript:popUp('www.xxx.com')">
ANY help greatly appreciated,
Kindest regards,
Ken