window.open

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

    window.open

    Hello,
    I want to create a new window but I only know the method
    window.open(URL ,...) but it doesn't work out.
    I've tried the variation 'var f = window.open("", ...)' but I have a
    mistake message. What is the way to create something like that with
    Internet Explorer 5.
  • McKirahan

    #2
    Re: window.open

    "BjoernJackschi na" <jacksch_1@hotm ail.com> wrote in message
    news:a24000a2.0 312150613.7fb9d ca4@posting.goo gle.com...[color=blue]
    > Hello,
    > I want to create a new window but I only know the method
    > window.open(URL ,...) but it doesn't work out.
    > I've tried the variation 'var f = window.open("", ...)' but I have a
    > mistake message. What is the way to create something like that with
    > Internet Explorer 5.[/color]


    What is your code?

    What is the "mistake message"?


    Open a new window and control its appearance
    How you can display a new window, but also decide the new window's
    appearance.
    The W3Schools online code editor allows you to edit code and view the result in your browser



    Comment

    • Michael Winter

      #3
      Re: window.open

      BjoernJackschin a wrote on 15 Dec 2003 at Mon, 15 Dec 2003 14:13:57
      GMT:
      [color=blue]
      > I want to create a new window but I only know the method
      > window.open(URL ,...) but it doesn't work out.
      > I've tried the variation 'var f = window.open("", ...)' but I have a
      > mistake message. What is the way to create something like that with
      > Internet Explorer 5.[/color]

      There are two reasons why it won't work:

      1) A pop-up blocker is stopping the creation of the new window, or
      2) There is a syntax error in your code.

      If you don't have an active pop-up blocker, then post your code
      exactly as you use it. If you use variables for one or more of the
      arguments, show them in your example, but also show some values that
      would occur in your script. For example:

      window.open(url , 'newWindow);

      url = 'http://www.server.com/'

      Mike

      --
      Michael Winter
      M.Winter@blueyo nder.co.invalid (replace ".invalid" with ".uk")

      Comment

      • BjoernJackschina

        #4
        Re: window.open

        Hello,
        many thanks for your help. It works.

        Comment

        Working...