Jason Mauss' Blog Cabin

Because someone's got to do the dirty work

Blog-Flair

Blogroll

Links

Web developers tip: use favorites to resize your window

I've seen the tip before about how to type something like "javascript:resizeTo(800,600);" to get your browser to resize to 800 pixels wide by 600 pixels high. Very useful. What I found even more useful however, is to create a series of favorites/bookmarks in IE, Firefox and other browsers and set the URL to something like "javascript:resizeTo(1024,768);"  and name the favorite "1024x768"

I have a few of them in all of my browsers now...comes it handy when doing web development.

Comments

Zknet said:

Why didn't I think of that? I do have a couple helpful javascript bookmarks. Such as:
javascript:void(document.body.onkeypress=function(){window.status=event.keyCode;});

Easy way to get the keycode for a key. I used to have one that added a border to all the tables for debugging purposes, but I must've lost it somewhere.
# December 30, 2004 2:08 AM

Darrell said:

# December 30, 2004 10:08 AM

Richard said:

If you're using FireFox, this extension named WebDeveloper is great. It has a Resize menu as well as a slew of other handy tools.
https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&version=1.0&os=Windows&category=Developer%20Tools&numpg=10&id=60
# December 30, 2004 1:22 PM

TrackBack said:

# January 11, 2005 7:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)