JavaScript Reference/Javascript Properties/height 2 — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
|
(нет различий)
|
Текущая версия на 11:22, 26 мая 2010
"height" Example
<source lang="javascript">
<html> <body> <button onclick="alert(screen.height);">Screen Height</button> </body> </html>
</source>
"height" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |document event | | |screen | +----------------+--------------------------------------------------------------+
</source>
"height" Syntax and Note
<source lang="javascript">
Note: Read-only property. Returns the object height in pixels.
Syntax:
objectName.height
</source>