You are here: Re: checking for window existance « HTML « IT news, forums, messages
Re: checking for window existance

Posted by Jim Michaels on 03/03/06 03:39

"Lambuz" <lambu76@gmail.com> wrote in message
news:1125406294.323184.52410@g43g2000cwa.googlegroups.com...
> Is there any way to check the existance of a window by the name ?
>
> I'm using this code:
> window.open("http://www.google.com",'targetWin1')

sort of.
var w=window.open("http://www.google.com",'targetWin1')
if (null==w) {
//oops. no window - must have been killed by a popup blocker.
} else {
//yay. got a window
}
do something with w
w.close();
window.focus();

>
> If I open a window using previous code without getting immediatly
> return value of open method, can I get it in a second moment ? For
> example using the value of param sName of open method ?

I don't understand. second moment? what sName? you must be reading out of
some book.
in english?

>
> regards
>

 

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

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