You are here: Re: self centering window? « HTML « IT news, forums, messages
Re: self centering window?

Posted by J.O. Aho on 01/12/07 22:50

Roy A. wrote:
> Jonathan N. Little skrev:
>
>>> There is probably a simple way to make a window open in the center of
>>> the screen.... javascript?
>>>
>>> Just how?
>>>
>> There use to be, but most modern browsers will not let you have such
>> control. Your control is limited within the chrome...
>
> Most browsers will let you do that, but with som limitations.

All browser dose support window placing and resizing, but it's quite usual
that users disables such things, myself I only allow javascript to open a new
window if I'm clicking on a link, but I don't allow any resizing or placement
for windows and always keep status bar visible.

IMHO javascript should be used sparsely and never count on that a user who
visit a page will have javascript enabled, and those times when using
javascript, don't use jscript mixed into it.


--

//Aho

 

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

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