Page 1 of 1

refreshing the top page

Posted: Thu Oct 23, 2003 8:28 pm
by d3ad1ysp0rk
I have my main page (index.php) that has a frame in it (called "sw_frame") and when I load a certain page in the frame, I want it to refresh the index.php page

Thanks

Posted: Thu Oct 23, 2003 8:43 pm
by scorphus
Not sure but you could try

Code: Select all

window.parent.location.reload();
Hope that helps,
Scorphus.

Posted: Thu Oct 23, 2003 8:53 pm
by d3ad1ysp0rk
is there anyway to load the page like "index.php?page=something"?

Posted: Thu Oct 23, 2003 9:01 pm
by scorphus
Try this:

Code: Select all

window.parent.location = 'index.php?page=something';
Cheers
Scorphus.