View Full Version : Maximum size of browser window...
01-23-2006, 04:45 PM
I am trying to make a page which detects the current size of the browser window and changes it to 800, 600 if it was originally bigger.
here's the code i currently have which just makes it go to 800, 600 whatever.
window.resizeTo( w,h )
01-23-2006, 04:57 PM
Say goodbye to all of your visitors who will be driven away from your site.
I'm not sure, it should work... but why do you want to do this?
01-23-2006, 05:09 PM
why would they be driven away?
the code i've shown above does work but it enlarges as well as reduces the size of the window... i only want it to reduce large windows.
01-24-2006, 07:24 PM
If visitors is driven away, depends on which windows you resize;
If you e.g. shows pictures in a popup and then resizes that window to fit the picture it would normally be no problem.
But do not use resizing on any ordinary pages.
It is up the viewer to choose the size of the window in which they see a page, and therefore you shouldnt force a page into your choice of dimensions.
If you do that they will mostly leave the page.
No one like to be forced to anything, and dimenions of a viewed page is no exception.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.