.....
function HandleOnClose()
{
if ((event.clientY < 0)) {
event.returnValue = 'Some data are changed are you sure to close this page?';
}
if ((event.clientY < 0)) {
event.returnValue = 'Some data are changed are you sure to close this page?';
}
}
......
<BODY >
i hope this helps
you!
Regards
Vincenzo!
-----Messaggio originale-----
Da: [email protected] [mailto:[EMAIL PROTECTED]Per conto di [EMAIL PROTECTED]
Inviato: lunedì 17 ottobre 2005 21.12
A: [email protected]
Cc: [email protected]
Oggetto: Re: [Easy400Group] IE Closing message
That message should only appear if you use a _javascript_ to close the main browser window (ie...the window that opened when you clicked on the icon on your desktop/start menu). Any child windows that your web site creates should not give that message when you use .close(). Since that message is a built in security feature to alert a user of possible malicious _javascript_, there is no way around it.
To sum up, you should only use _javascript_ to close windows that your application has opened using _javascript_.
"pilepl01" <[EMAIL PROTECTED]>
Sent by: [email protected]10/17/2005 02:50 PM
Please respond to
[email protected]
To[email protected] cc Subject[Easy400Group] IE Closing message
How do i get rid of the following IE message when i close a window with
self.close() or window.close():
( The webpage you are viewing is trying to close the window. Do you
want to close this window (Yes / No ) )
------------------------ Yahoo! Groups Sponsor --------------------~-->
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Easy400Group/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
YAHOO! GROUPS LINKS
- Visit your group "Easy400Group" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
