on 09-16-2005 6:15 PM
Hello everyone,
When I click on the log off button, an I.E window opens up with the following message "The web page you are viewing is trying to close the window". If I click yes, the browser window closes. How can I avoid this message from popping up? I want that when the user clicks on the log off, the browser window should close without popping any new window. I am not using any popupblockers. I have used window.close() to close the browser window.
Thanks,
J.D
What version of EP are you using?
In any case, the following should suppress the pop up for closing a parent window.
<a href="javascript:close(opener=0)">Close</a>
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
K thanx for responding.
U removed LogOff link from the MastHead...but don't u think it creates confusion for the end users?
I just want to know if that cud create any problems.
I'm trying to edit masthead to display logoff message when a user clicks X on the window.Do u have any script and where to place?
Regards,
Thank you.
Yes it is possible to invoke a script when u click X.
windows.onunload()=closeEP and then call logoff() in Masthead.
function closeEP()
{
logoff();
}
I tried that but i don't fathom where iam failing. i can alert a simple message in logoff().
Like if i hit X. closeEP() will be called and it inturn calls logoff().It alerts the simple message but never brings that pop box with message "Are you sure, you want to logoff".
Regards,
User | Count |
---|---|
96 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.