Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Funny message??
Message
De
20/12/2001 10:17:31
 
 
À
20/12/2001 09:06:34
Information générale
Forum:
Internet
Catégorie:
VBScript
Titre:
Divers
Thread ID:
00596726
Message ID:
00596760
Vues:
28
>Does anyone know how to eliminate the message "The web page you are viewing is trying to close the window. Do you want to close the window?" when you move from one page to another. There are certain times when I don't want a user to go back to a page because of the choices they have made. In those cases, I've tried calling the new window (window.open mynewurl) followed by a parent.close command. If I do so, the message above appears on some user machines (not all...)
>
>Is there a better way to close the window? Is there a way to eliminate that message? Any clues would be appreciated.
>
>TIA,

I don't think that's possible. You can only close child windows that you have created with script without the message.

See this MSDN article for ideas on "disabling" the backing of the user to a previous page: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dn_voices_webmen/html/webteam07032000.asp

Maybe a combination of the two would work for you. IOW, if the user chooses not to close the window you will have another option with the techniques on the article.HTH
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform