HTML/CSS/CSS Attributes and Javascript Style Properties/pixelHeight
Версия от 09:20, 26 мая 2010; (обсуждение)
"pixelHeight" Example
<head>
<script language="JavaScript">
function function1(){
myDiv.style.pixelHeight = 200
}
</script>
</head>
<body>
<div id="myDiv"
style="background-color:#EEEEEE;
position:absolute; width:400;
cursor:hand";
onmouseover="function1()"
onmouseout="this.style.pixelHeight=60">
Move your mouse in and out to set the pixelHeight.
</div>
</body>