Loading window close


Hi



Is there a wayto detect if the loading window is open or closed. If i attachEvent (onClose) on the loading window and set a flag, the flag gets set and everything but the window doesnt close. To close the loading window, i am calling window,close(). The event gets fired but the window doesnt close.



 



Cheers



Gayathri

If i attachEvent (onClose) on the loading window and set a flag
Be sure that your event handler has “return true;” at the end
some.attachEvent(“onClose”,function(some){
//some code
return true;
});

If custom handler returns any other values - it will be counted as signal to block window closing.