M
Mel
i have the following:
window.onbeforeunload = confirm;
function confirm()
{
if (event.clientY < 0) {
event.returnValue = 'Leave this page ?';
}
}
what i need is if the user clicks "OK" i want the top window to go to a URL
and then "CLOSE" the toplevel window altogether. otherwise nothing should
happen !
can you please help this pooor neeeewbeeeeee
window.onbeforeunload = confirm;
function confirm()
{
if (event.clientY < 0) {
event.returnValue = 'Leave this page ?';
}
}
what i need is if the user clicks "OK" i want the top window to go to a URL
and then "CLOSE" the toplevel window altogether. otherwise nothing should
happen !
can you please help this pooor neeeewbeeeeee