Click to See Complete Forum and Search --> : Event capturing


gruetztian
08-11-2003, 02:34 AM
help help help,

with this code i can capture events from active window...

window.onunload = Ausgabe;

function Ausgabe()
{

alert("window closed...");

}

but how to capture events for new created windows
for example:

mywin = window.open("test.php","F1","top=0,left=0,width=150,height=400");

and now i want to do this

mywin.onunload = unloadfunc;

function unloadfunc()
{

}

but it dont work??? whats the problem???

ibidris2003
08-11-2003, 06:25 AM
Use this tool:
http://www.mycgiserver.com/~ibidris/popup.jsp