post form into new window of predetirmined size

Discussion in 'Javascript' started by chris, Aug 16, 2004.

  1. chris

    chris Guest

    what i want to do is, using a form when the submit button is pressed it
    opens
    a new window with the size set to predetimined dimensions

    opening the window using target is fine but i want to restrict the size and
    if possible not havetoobars (however that is not as important)

    any idea's would be great

    thaks
     
    chris, Aug 16, 2004
    #1
    1. Advertising

  2. chris

    Moist Guest

    "chris" <> a écrit dans le message de
    news:412060b3$...
    > what i want to do is, using a form when the submit button is pressed it
    > opens
    > a new window with the size set to predetimined dimensions
    >
    > opening the window using target is fine but i want to restrict the size

    and
    > if possible not havetoobars (however that is not as important)
    >
    > any idea's would be great
    >
    > thaks
    >
    >
    >


    window.open(URL, "", "left=xxx, top=xxx, height=xxx, width=xxx")

    Replace the xxx with the coordinates f your choice. Search for window.open
    and Javascript using Google for the complete syntax and options.
     
    Moist, Aug 17, 2004
    #2
    1. Advertising

  3. Moist wrote:
    <snip>
    > window.open(URL, "", "left=xxx, top=xxx, height=xxx, width=xxx")
    >
    > Replace the xxx with the coordinates f your choice. Search for
    > window.open and Javascript using Google for the complete syntax
    > and options.


    If such a google search were carried out in a way that included the
    groups.google.com archives for comp.lang.javascript it would reveal many
    occasions where it is pointed out that the 'features' list provided as
    the third parameter to - window.open - is a comma separated list, not a
    comma-space separated list, as an explanation to examples of partial or
    total failure of feature settings on many non-IE browsers. (along with
    much on the subject of the reliability/advisability of attempting to
    open new browser windows, and the alternatives).

    Richard.
     
    Richard Cornford, Aug 17, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    2
    Views:
    14,188
    bruce barker
    Aug 23, 2004
  2. Matt
    Replies:
    1
    Views:
    480
    Andrew Thompson
    Aug 22, 2004
  3. chris
    Replies:
    2
    Views:
    659
    Somchai U.
    Aug 16, 2004
  4. Matt
    Replies:
    5
    Views:
    3,069
    Michael Winter
    Aug 25, 2004
  5. Matt
    Replies:
    3
    Views:
    239
    Bob Barrows [MVP]
    Aug 22, 2004
Loading...

Share This Page