You are here: Re: fermeture de fenetre « PHP Programming Language « IT news, forums, messages
Re: fermeture de fenetre

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация