javascript screen availHeight, availWidth
| availHeight, availWidth | NN 4 IE 4 DOM n/a |
| Read-only | |
|
Provide the height and width of the content region of the user's video monitor in pixels. This measure does not include the 24-pixel task bar (Windows) or 20-pixel system menubar (Macintosh). IE/Macintosh miscalculates the height of the menu bar as 24 pixels. To use these values in creating a pseudo-maximized window, you also have to adjust the top-left position of the window. |
|
| Example | |
var newWind = window.open("","","height=" + screen.availHeight +
",width=" + screen.availWidth)
|
|
| Value | |
Integer of available pixels in vertical and horizontal dimensions. |
|
| Default | |
Depends on the user's monitor size. |
|
1688,Nickname,Homepage or email,Comments here,Add comment
