on 2009 Nov 16 12:10 AM
Hi All,
Is it possible to close the Portal Main Window (main page) without a confirmation popup window.
I am launching an iView (can be excel sheet/html page etc) using Quick Link which is attached to a role.
When this iView opens, I want to close the portal main page.
I am using the below code to close the main window.
window.top.close()
But it is prompting a confirmation popup window "Do you want to close this window". I don't want this popup message.
I have tried with below code also, but it is neither prompting nor closing the window.
window.opener=null;
window.close();
window.opener=self;
window.close();
Can anyone tell me how to acheive the above requirement.
Thanks
Chinna.
Hi,
never tried, but you could try this:
[Close window without the prompt message in IE7|http://dotnetslackers.com/community/blogs/haissam/archive/2007/04/20/Javascript_3A00_-Close-window-without-the-prompt-message-in-IE7.aspx], another try: [how to close the current window in IE by bypassing the close confirmation dialog|http://www.faqts.com/knowledge_base/view.phtml/aid/37041].
Romano
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Could you tell me which version of Internet Explorer using.
Also how you are executing this javascript. Where you kept this code.
What i have tested is after opening the portal i replace the browser URL with this code and its works perfectly in my IE 7.0
javascript:window.top.open('','_self','');window.close();
Regards
Baby
Edited by: Baby on Nov 17, 2009 11:06 AM
Thanks for the help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can't avoid to display the confirmation message showed by the Internet Explorer browser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.