timur
03-18-2003, 11:42 AM
I've got the pop-up window
When user fires on 'X' button on the top right of the window to close it I want to ask him a confirmation and if he fired 'Cancel' button to keep window open. I'm using a code like this:
onbeforeunload = function(){
...
return fasle;
}
The problem is that browser responds with dialog window asking a standart information.
Did anyone knows is it possible to keep the browser window opened without any standart prompts? Maybe 'onbeforeunload' is not the solution I need?
When user fires on 'X' button on the top right of the window to close it I want to ask him a confirmation and if he fired 'Cancel' button to keep window open. I'm using a code like this:
onbeforeunload = function(){
...
return fasle;
}
The problem is that browser responds with dialog window asking a standart information.
Did anyone knows is it possible to keep the browser window opened without any standart prompts? Maybe 'onbeforeunload' is not the solution I need?