|
|
Q725 How can I detect that a window has been resized, and upon detection force a reload of the current document into the current frame?
irt.org | Knowledge Base | JavaScript | Event | Q725 [ previous next ] Q725 How can I detect that a window has been resized, and upon detection force a reload of the current document into the current frame?In newer browsers (Internet Explorer 4 and Netscape Navigator 4) you can use the onResize event handler:
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/ |
-- div -->
|