Re: window.open
Thomas 'PointedEars' Lahn a écrit :
on s'en fout, c'est un exemple, il n'a pas à être complet, et de toutes
façons ça satisfait Netscape 4, alors ...
>This is not needed if typeof refDatePopup == 'undefined' is true or if
>refDatePopup.c losed is true. If the window object reference does not
>exist or the referenced window no longer exists, then a new secondary
>window will need to be created, will be created and it will take
>system focus on top of opener without any need for
>refDatePopup.f ocus().
>
If the window/tab with the name (second argument) exists, while its content
is going to change, it is _not_ going to be focused automatically.
Voilà ! j'allais le dire.
--
sm
Thomas 'PointedEars' Lahn a écrit :
GTalbot wrote:
>
True, the `scrollbars' and `resizable' features should be requested as well.
>SAM wrote:
>The previous line instruction is possibly executable but I have always
>found such quite questionable, debatable.
>>refDatePopu p = window.open('', '','width=424,h eight=327');
>found such quite questionable, debatable.
True, the `scrollbars' and `resizable' features should be requested as well.
façons ça satisfait Netscape 4, alors ...
>>refDatePopup. focus();
>refDatePopup.c losed is true. If the window object reference does not
>exist or the referenced window no longer exists, then a new secondary
>window will need to be created, will be created and it will take
>system focus on top of opener without any need for
>refDatePopup.f ocus().
If the window/tab with the name (second argument) exists, while its content
is going to change, it is _not_ going to be focused automatically.
--
sm
Comment