I have frameset with two frames: header and content.

I want topmost window (frameset) to "listen" content frame and change the header frame whenever a new url is loaded on content frame. I don't want to put this header-changing logic in content-frame documents, but into frameset document.

Closest match I found: put onLoad event handler for content-frame <frame> element in the frameset. This worked with IE6 and Mozilla, but not in Netscape 4. Not so big deal, but anyway, do you know a better way to handle this?