<html>
<head>
<title>Example of the event.width property</title>
</head>
<body>
<script language = JavaScript>
<!--
function handle(evnt){
alert("An RESIZE event has occurred. The new width of the window is: " + evnt.height);
return true;
}
window.onresize = handle;
-->
</script>
Resize browser to see the result
</body>
</html>
|