'posWidth' Example : posWidth « CSS « HTML / CSS

HTML / CSS » CSS » posWidth 
'posWidth' Example

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

    
      
      
Related examples in the same category
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.