JavaScript Reference/Javascript Properties/height 2 — различия между версиями

Материал из Web эксперт
Перейти к: навигация, поиск
 
м (1 версия)
 
(нет различий)

Текущая версия на 08:22, 26 мая 2010

"height" Example

    
<html>
<body>
<button onclick="alert(screen.height);">Screen Height</button>
</body>
</html>



"height" is applied to

+----------------+--------------------------------------------------------------+
| Applied_To     |document                        event                         |
|                |screen                                                        |
+----------------+--------------------------------------------------------------+



"height" Syntax and Note

Note:
Read-only property. 
Returns the object height in pixels.
    
Syntax:
    
objectName.height