[TAG] 2-cent Tip: Web development bookmarklets
Bradley Chapman
kakadu_croc at yahoo.com
Wed Apr 14 01:06:03 MSD 2004
Mr. Okopnik,
--- Ben Okopnik <ben at callahans.org> wrote:
> If you do any Web development, you know that one of the things you need
> is to see your site at various resolutions. Unfortunately, the old
> "Alt-Control-plus"/"Alt-Ctrl-minus" method leaves much to be desired:
> the virtual screen usually becomes larger than your physical one at low
> resolutions, and you have to scroll around and resize the browser window
> while grumbling under your breath.
>
> Well, grumble no more - just add these URLs to your "Personal bookmarks"
> so that they'll show prominently in your browser's toolbar, and resize
> as desired with a single click! Note: the lines beginning with
> "javascript" are the actual URLs; the names are up to you. My comments
> are preceded with a '#' sign and aren't part of the bookmarklets.
>
>
> # 640x480 bookmarklet
> javascript:window.resizeTo(640,480)
>
> # 800x600 bookmarklet
> javascript:window.resizeTo(800,600)
>
> # 1024x768 bookmarklet
> javascript:window.resizeTo(1024,768)
>
> # I _really_ like this one: it's how I define "Full screen". The window
> # is adjusted to fit between the info bar I use on top of my screen and the WM
> # toolbar, while the width is maximized. Easily adjusted to your own
> # preferences.
> javascript:moveTo(0,20);window.resizeTo(1280,738)
>
>
> The above work with Mozilla 1.6, and should work with many other
> browsers. For more bookmarklets and other browser variations, see
> <http://www.bookmarklets.com/>.
>
> (Many thanks to Jay Ashworth of The Answer Gang for introducing me to
> the concept of bookmarklets in the first place.)
You can also use the Web Developer Toolbar, which provides these bookmarklets
as well as a whole host of other amazing features that should be useful to
everyone.
http://chrispederick.myacen.com/work/firefox/webdeveloper/
One of the most useful is a small icon which tells you if there are any
JavaScript errors on a page. Very useful!
Brad
=====
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
More information about the TAG
mailing list