javascript screen availHeight, availWidth
@March 15, 2008, 1:22 a.m.
availHeight, availWidth | Firefox/Netscape/NN 4 IE 4 Chrome/Safari/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. |
<a href=https://cialiswwshop.com/>cheapest cialis</a>
tireChest
- 3 years
<a href=https://ponlinecialisk.com/>cialis price</a>
tireChest
- 3 years
<a href=https://vsviagrav.com/>how to stop viagra spam
tireChest
- 3 years
Powered by Linode.