Reply to Re: New window - exact size...

Your name:

Reply:


Posted by Michael Winter on 06/29/05 01:50

On 28/06/2005 23:24, Gérard Talbot wrote:

[snip]

> It's better to set the global variable to null and not to undefined.

I fail to see why. The variable will type-convert to boolean false in
just the same way, and the code that you cite doesn't attempt to make
any distinction between two values.

The rest I agree with, though if we're talking best practices, the code
suggested by Mozilla should also test to make sure that the open and
focus methods exist before calling them in case a user is using a proxy
or third-party pop-up blocker that effectively deletes or fakes the
former, thus making the latter non-existent.

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.

[Back to original 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

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