Warning: Use of undefined constant DATABASE_SERVER - assumed 'DATABASE_SERVER' (this will throw an Error in a future version of PHP) in /nfs/c02/h02/mnt/26079/domains/svn/obp/onebadpixel/html/wordpress/wp-config.php on line 6

Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c02/h02/mnt/26079/domains/svn/obp/onebadpixel/html/wordpress/wp-content/plugins/UltimateTagWarrior/ultimate-tag-warrior.php on line 133
resizing your browser on the fly | One Bad Pixel
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nfs/c02/h02/mnt/26079/domains/svn/obp/onebadpixel/html/wordpress/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 77

Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /nfs/c02/h02/mnt/26079/domains/svn/obp/onebadpixel/html/wordpress/wp-content/plugins/jetpack/_inc/lib/class.media-summary.php on line 87

Warning: count(): Parameter must be an array or an object that implements Countable in /nfs/c02/h02/mnt/26079/domains/svn/obp/onebadpixel/html/wordpress/wp-includes/post-template.php on line 284
One Bad Pixel
Soylent Green is people!
«
»

resizing your browser on the fly

I was working on some web development today and found that I needed to resize my browser window to several different sizes for the purpose of testing the page layout for different screen resolutions. I came across a helpful tip and thought I would share it with everyone, since it works excellent (in both FF and IE, and probably others).

I created a bookmarks folder called “Resize Window” and in it, I put several bookmarks. The bookmarks are called 800×600, 1024×768, and 1280×1024. Clever as it may be, those names refer to the size the window will become. In the properties, I set the URL for them (respectively) to
javascript:resizeTo(800,600)
javascript:resizeTo(1024,768)
javascript:resizeTo(1280,1024)

Thats it! Now, directly via your bookmarks you can instantly resize your browser to the desired resolution.

 

3 Responses for “resizing your browser on the fly”

  1. esoteric Says:

    ooh, now that is nice to have. As my screens get bigger, wider and duplicated, this is very nice to know. Now if I can have that dreaded pop up window not be in the center of my primary display 🙂

  2. Mike Says:

    Neat idea!

  3. Jim Says:

    Umm, UltraMon. Popwindows fixed, taskbars on each monitor (with the proper buttons), different wallpaper per monitor.. I thought you knew these things.

Leave a comment!