As mentioned previously, the
object is useful to manipulate browser windows (and frames),
which means as a developer, you are able to move and resize browser windows. Four methods are avail-
able to accomplish this:
) — moves the browser window
pixels horizontally and
cally relative to its current position. Negative numbers can be used for
to move the window
to the left and for
to move the window up.
) — moves the browser window so that its upper-left corner is located at position
) on the user ’s screen. Negative numbers can be used, but these move part of the window
off of the visible screen.
) — resizes the browser window’s width by
pixels and its height by
pixels relative to the window’s current size. Negative numbers can be used for
to shrink the
window’s width and for
to shrink the window’s height.
08_579088 ch05.qxd 3/28/05 11:37 AM Page 139