Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q448 Do you know how I can detect when a frame in a frameset is resized?

You are here: irt.org | FAQ | JavaScript | Frame | Q448 [ previous next ]

Both Netscape Navigator 4 and Internet Explorer 4+ provide support for the onResize event handler, which can be used as follows:

<body onResize="....">

When a frame is resized the onResize event handler in the body tag is triggered.

Netscape Navigator 4 and Internet Explorer 4+ also support an onResize event handler in the frameset tag:

<frameset onResize="...." cols="50%,*">
  <frame src="page1.htm">
  <frame src="page2.htm">
</frameset>

©2018 Martin Webb