Browser preference to be changed 2004-07-20 - By Santosh
Back Hello, It works with IE 5.5 and above. I am using 6.0. and tested with it. It works fin. It's really gr8 solution.
regards
Santosh Mansukh BNF Technology Inc. 150, Duck jin dong, Yusong_ku, Taejon, South Korea, Zip: 305 353.
Tel: (042) 868-4383 � � � Fax: (042) 868-4384 Mob: 019-657-2218 � � � E-mail: Santosh@(protected) Homepage: http://www.bnftech.com
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] On Behalf Of Shivprasad_Bade Sent: Tuesday, July 20, 2004 6:53 PM To: J2EE-INTEREST@(protected) Subject: Re: Browser preference to be changed
You can try this one...
---
<BODY onLoad="winload()"> <OBJECT ID="WB" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"> </OBJECT> <SCRIPT LANGUAGE="JavaScript1.2"> <!-- function winload() { if(navigator.appName=="Microsoft Internet Explorer") { var BrowserVerStr =navigator.appVersion; parts = BrowserVerStr.split(";"); var preBrowVer = parts[1] var BVNum=parseFloat((preBrowVer.substring(5,preBrowVer.length))) if (BVNum >= 5.5) { WB.ExecWB(45,2) } else { window.close() } } } //--> </SCRIPT> </BODY>
----
But its works only with IE 5.5
-
Regards,
Have a nice day..!!!
Shivprasad Bade
-- --Original Message-- -- From: Srinivasa Sai Chakravarthy V (CTC) [mailto:Chakravarthy.V@(protected)] Sent: Tuesday, July 20, 2004 2:46 PM To: J2EE-INTEREST@(protected) Subject: Re: Browser preference to be changed
You can supress the message if the window is not the main window.In the sense,If you are closing a window which is opened by window.open() then if you close the window by using window reference then confirmaiton won't popup.But it is a new instance opened without reference then the mesage will popup.We cannot stop this confirmation bcoz it will popup for Main window only.
Thanks & Regards V.Srinivasa sai chakravarthy __ ____ ____ ____ ______ AIU Travel Insurance TATA Consultancy Services AIG-TCS Chennai Technology Center #1, Jawaharlal Nehru Road Vadapalani, Chennai - 600 026, TamilNadu, India
Phone No : +91 44 5550 5266 __ ____ ____ ____ ______
> -- --Original Message-- -- > From: A mailing list for Java(tm) 2 Platform, Enterprise Edition > [SMTP:J2EE-INTEREST@(protected)] On Behalf Of > Sonali_Kansara/BLR/TCS%TCS@(protected) > Sent: Tuesday, July 20, 2004 1:02 PM > To: J2EE-INTEREST@(protected) > Subject: Browser preference to be changed > > > Hello, > My current application (consisting of framesets ) prompts a > confirmation (The browser is trying to close the window ....Do you > want to close it ? ) when I try to close the window . I want to > suppress this browser message . How do I go about doin this , can I > set properties of the Navigator object ? .........How ? > > Please assist me > > Thanks in advance > > Regards, > Sonali << File: InterScan_Disclaimer.txt >>
=========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help". ************************************************************************ ** This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ************************************************************************ **
=========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
==========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|