Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q214

irt.org | About | Feedback | 4294 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q214

Sent by
darkpractice on November 27, 2002 at 20:08:06:

Comments:
You can write a recursive function to navigate DOM and set the onload & onunload handlers, assuming you are coming from the same domain (in frames).

function kill(p_win) {
p_win.onload = null;
p_win.document.onload = null;

if (p_win.frames) {
for (var i = 0; i}

kill(window.top); // remove all handlers (onload & onunload)

use a different name than kill, of course


Other feedback on 'irt.org FAQ Knowledge Base Q214' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.