Chad Roe
05-19-2006, 11:16 PM
Can you resize the current page, then open a new URL in it???
Ok, here's the deal...
I have an index page (index.php) inside one of my sub directories, that redirects anyone who tries to access the root of that directory (http://www.here.com/dir/), to a main page. All of the pages in that sub directory are sized for popups, and shouldn't be viewed full-size.
Is there any way to automatically resize that window and then open the main page inside of it? I know I can use my JavaScript PopUp link to automatically open the main page in it's own, correct size window, but that leaves the full-size index window open in the background.
If I can not automatically resize the window and then open the main page inside of it, is there a way to automatically close the window before automatically popping up the correctly sized main page?
Ok, here's the deal...
I have an index page (index.php) inside one of my sub directories, that redirects anyone who tries to access the root of that directory (http://www.here.com/dir/), to a main page. All of the pages in that sub directory are sized for popups, and shouldn't be viewed full-size.
Is there any way to automatically resize that window and then open the main page inside of it? I know I can use my JavaScript PopUp link to automatically open the main page in it's own, correct size window, but that leaves the full-size index window open in the background.
If I can not automatically resize the window and then open the main page inside of it, is there a way to automatically close the window before automatically popping up the correctly sized main page?