|
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]
|