Click to See Complete Forum and Search --> : pop up window in home page will not pop


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

Aronya1
09-09-2003, 11:38 PM
I don't get a popup on either one. Just a redirect to http://abc.go.com/ or an error page.

So, you do the website for ABC?

kenny121
09-09-2003, 11:52 PM
www.abc.com and www.xxx.com are just examples.