You are here: irt.org | FAQ | JavaScript | Event | Q725 [ previous next ]
In newer browsers (Internet Explorer 4 and Netscape Navigator 4) you can use the onResize event handler:
<BODY onResize="location.reload()">
However, there is a bug in Netscape Navigator 4 when a document is longer/wider than the current window scroll bars are added to the window - which triggers the resize event.
A workaround is detailed at http://www.webreference.com/dhtml/diner/resize/