|
|
Q1224 Is it possible to resize the browser to a preferred size, and then set it back to the original size one the visitor leaves?
irt.org | Knowledge Base | JavaScript | Window | Q1224 [ previous next ] Q1224 Is it possible to resize the browser to a preferred size, and then set it back to the original size one the visitor leaves?Try:
The following was bubmitted by Rawdyn The solution to the question is not accurate (I hope some one can prove me wrong as it causes me heartache every day). For IE the document.body.clientWidth is a measurement of the inner size of the window. Resizing the window to this using top.resizeTo() will resize the outer dimensions of the window (including toolbars etc) to the size specified. This means the resulting window is smaller than it should be. Feedback on 'Q1224 Is it possible to resize the browser to a preferred size, and then set it back to the original size one the visitor leaves?' |
-- div -->
|