'posHeight' Example : posHeight « CSS Attributes and Javascript Style Properties « HTML CSS Reference






'posHeight' Example

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

    
      
      








Related examples in the same category

1.'posHeight' Syntax and Note
2.'posHeight' is applied to