You cannot force a page to be a certain size.
The only way to resize a page is to control the window in which it appears, which you already know how to do "when a user pushed a button", meaning, using the window.open() method, I presume.
When you redirect, you aren't creating a new window. You lose control over the window. The new page owns it, so that page will need to contain its own resize code.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
Perhaps I wasn't very clear: only the "current page" can resize and/or open a window. Once the web server redirects to a page, only THAT PAGE can resize its window.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37
I find this thread totally baffling. You started out by saying you already knew how to use window.open(), and close the thread by saying that the window.open() method totally saved you. If you didn't know about window.open(), you saw it mentioned in the very first reply to your question...
As long as you're happy, I guess.
tgreer
Made Her Cry
2,118 posts since Dec 2004
Reputation Points: 227
Solved Threads: 37