You are on page 1of 1

Windows

You dont have to have either the editor or browser window maximized (at full screen) to take
advantage of
them. In fact, you may find them easier to work with if you adjust the size and location of each window
so
both windows are as large as possible while still enabling you to click a sliver of the others window. Or
you can leave the taskbar visible so you can click the desired programs button to switch to its window
(see Figure 3-1). A monitor that displays more than 800 600 pixels certainly helps in offering more
screen
real estate for the windows and the taskbar.
FIGURE 3-1
Editor and browser-window arrangement in Windows XP.

In practice, however, the Windows Alt+Tab task-switching keyboard shortcut makes the job of the
saveswitchreload steps outlined earlier a snap. If you run Windows and also use a Windows-compatible text
editor (which more than likely has a Ctrl+S file-saving keyboard shortcut), you can effect the saveswitchreload
sequence from the keyboard your the left hand: Ctrl+S (save the source file), Alt+Tab (switch to the
browser), and Ctrl+R (reload the saved source file).
As long as you keep switching between the browser and text editor via Alt+Tab task switching, either
program
is always just an Alt+Tab away.

Mac OS X

In Mac OS X you can change between your text editor and browser applications via the Dock or, more
conveniently,
by pressing +Tab. As long as you stay in those two applications, the other program is only one
+Tab away (see Figure 3-2).

19
Your First JavaScript Script

You might also like