How to open a smaller window?

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

    How to open a smaller window?

    When I use Window.open ("mywindow.htm" ) the size of the window is the same as
    the size of the original. How can I open the new window in a smaller size, so
    people can still see my main window, and the smaller one.

    Joe
    galsaba@aol.com
  • kaeli

    #2
    Re: How to open a smaller window?

    In article <20031219091315 .26046.00001356 @mb-m06.aol.com>,
    galsaba@aol.com enlightened us with...[color=blue]
    > When I use Window.open ("mywindow.htm" ) the size of the window is the same as
    > the size of the original. How can I open the new window in a smaller size, so
    > people can still see my main window, and the smaller one.
    >
    > Joe
    > galsaba@aol.com
    >[/color]

    This is in the FAQ.

    Just use the properties when you open the window.
    window.open(URL ,Title,properti es);

    window.open('so meUrl.html','my window','height =100,width=
    100,toolbars=ye s,scrollbars=ye s');

    --
    --
    ~kaeli~
    In democracy your vote counts. In feudalism your count votes.



    Comment

    • HikksNotAtHome

      #3
      Re: How to open a smaller window?

      In article <MPG.1a4cd34e42 36da0f989a2d@nn tp.lucent.com>, kaeli
      <tiny_one@NOSPA M.comcast.net> writes:
      [color=blue]
      >This is in the FAQ.
      >
      >Just use the properties when you open the window.
      >window.open(UR L,Title,propert ies);
      >
      >window.open('s omeUrl.html','m y window','height =100,width=
      >100,toolbars=y es,scrollbars=y es');
      >[/color]

      The second paramter to window.open is the name of the window, not the title of
      it. Also, some browsers choke on window names with spaces in them.

      <URL:

      window.html#120 2731 />

      <quote>
      windowName
      A string specifying the window name to use in the TARGET attribute of a FORM
      or A tag. windowName can contain only alphanumeric or underscore (_)
      characters.
      </quote>
      --
      Randy

      Comment

      • kaeli

        #4
        Re: How to open a smaller window?

        In article <20031219124920 .08626.00002244 @mb-m27.aol.com>,
        hikksnotathome@ aol.com enlightened us with...[color=blue][color=green][color=darkred]
        >> >[/color][/color]
        >
        > The second paramter to window.open is the name of the window, not the title of
        > it. Also, some browsers choke on window names with spaces in them.
        >[/color]

        Oops, I meant name, but didn't know about the space issue. Thanks.


        --
        --
        ~kaeli~
        Black holes were created when God divided by 0.



        Comment

        Working...