<html>
<head>
<title>Using the layerY property for the event object</title>
</head>
<body>
<script language="JavaScript">
<!--
function handle(evnt){
alert("The new height (Y value) of the window object after the resize is: " + evnt.layerY);
return true;
}
window.onresize = handle;
-->
</script>
Resize the browser to see the result.
</body>
</html>
|