Click to See Complete Forum and Search --> : function changePage()


ckwall
09-03-2003, 09:44 AM
How do I change:

setTimeout ("changePage()", 0);

function changePage() {
if (self.parent.frames.length != 0)
self.parent.location="http://www.rockcove.com/estore";
}

so that it will open a new window rather than changing the current window.

I would like it to do that same as target= _blank
:)

Khalid Ali
09-03-2003, 10:06 AM
change the function from this

function changePage() {
if (self.parent.frames.length != 0)
self.parent.location="http://www.rockcove.com/estore";
}

to this

function changePage() {
if (self.parent.frames.length != 0)
window.location.href="http://www.rockcove.com/estore";
}