Ryan McDonnell - Pursuing Web Application Zen

Quick browser window size adjustments

Monday, June 28th, 2004 at 12:00 am

When developing web-based applications, the resolution of the target user has to be taken into consideration. My development machine runs a resolution of 1280×1024 but I frequently need to verify that a particular web application will fit on the screen of a user running 1024×768 or even 800×600. Rather than adjusting my resolution every time, I’ve added a link under Favorites inside Internet Explorer that resizes the window to the size I wish.

In the Address bar, enter the following:

javascript:resizeTo(1024,768); moveTo(128,128);

This will resize the window and center it on a 1280×1024 resolution display. Now just add this address to your Favorites. I place the bookmark under the Links folder to make it easily accessible on the toolbar. You can change the numbers to adjust the window size and placement.

Leave a Comment

The following tags are allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

About Ryan McDonnell

I am a web application developer living in southern California. Commonly called a “jack of all trades” by collegues, I constantly strive to broaden my knowledge into other fields.
More about Ryan McDonnell »


 Subscribe in a reader

Quick Links & Notes

© 2004-2008 Ryan McDonnell. View my profile on LinkedIn
Some rights reserved under the Creative Commons Attribution-Share Alike 3.0 United States License.