|
Posted by Alvaro G Vicario on 06/09/05 13:28
*** Thomas Raso wrote/escribió (Thu, 9 Jun 2005 08:47:21 +0200):
> <script type="text/javascript" language="javascript">
> window.close();
> </script>
> et la console javascript de mon navigateur me renvoi " Les scripts ne
> peuvent pas fermer une fenêtre qui n'a pas été ouverte par un script"
This is an English-speaking group about PHP and you posted a question about
JavaScript written in French...
Anyway, as your browser warns you cannot close a window you didn't open
before. There's nothing you can do about it and that's good. Why don't you
just print "You have successfully logged out. You can close this window."
and let user decide?
--
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group
--
Navigation:
[Reply to this message]
|