<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>