HTML/CSS/CSS Attributes and Javascript Style Properties/posHeight

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

"posHeight" Example

    
<html>
<body>
<head>
<script language="JavaScript">
    function function1(){
        myDiv.style.posHeight = 200 
    } 
</script>
</head>
<body>
<div id="myDiv" 
     style="background-color:#EEEEEE; 
            position:absolute; 
            cursor:hand";
     onmouseover="function1()" 
     onclick="this.style.posHeight=900">
     Move your mouse in and click to set the posHeight.
</div>
</body>
</html>