window.open

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • SAM

    #16
    Re: window.open

    Thomas 'PointedEars' Lahn a écrit :
    GTalbot wrote:
    >SAM wrote:
    >>refDatePopu p = window.open('', '','width=424,h eight=327');
    >The previous line instruction is possibly executable but I have always
    >found such quite questionable, debatable.
    >
    True, the `scrollbars' and `resizable' features should be requested as well.
    on s'en fout, c'est un exemple, il n'a pas à être complet, et de toutes
    façons ça satisfait Netscape 4, alors ...
    >>refDatePopup. focus();
    >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

    Comment

    • SAM

      #17
      Re: window.open

      Thomas 'PointedEars' Lahn a écrit :
      >
      However, it is even better to leave the choice to the user.
      He lost the right click of his mouse?

      --
      sm

      Comment

      Working...