'onResize' Example : onResize « Event onMethod « JavaScript DHTML






'onResize' Example

    
<html>
<head>
<script language="JavaScript">
    function function1() {
        alert('The '+event.type+' event fired')
    }
</script>
</head>
<body>
    <a id="myL" href="" contenteditable=true onresize="function1()">
        <img src="http://www.java2s.com/style/logo.png" 
             alt="http://www.java2s.com" 
             width="79" 
             height="99">
    </a>
</body>
</html>

    
      
      








Related examples in the same category