August 1999
Intermediate to advanced
1488 pages
72h 53m
English
window.outerHeight
The outerHeight property of the Window object references the pixel height of the browser's frame. This includes any of the toolbars or other "chrome" that makes up the frame itself.
Listing 7.565 has a button that, when clicked, opens up a second, smaller window. The outerHeight property is written to this new window.
<html> <head> <script language="JavaScript1.2"> <!-- Hide // Define a function to open a small window function openWin(){ // Create variables to hold the various options that can be set // when a new Window instance is created. var myBars = 'directories=no,location=no,menubar=no,status=no'; ... |
Read now
Unlock full access