Window onresize event handler : onresize « Window « JavaScript Tutorial






<html>
<head>
<script language="JavaScript" type = "text/javascript">
<!--

window.onresize = DisplayMsg;

function DisplayMsg()
{
    window.alert("You just resized the window.");
}

//-->
</script>
<title>Window Resizing</title>
</head>
<body>
</body>
</html>








19.10.onresize
19.10.1.Window onresize event handler