Selfsizing pop up window?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • R. Russell Kinter

    Selfsizing pop up window?

    Hi,
    How do you get a pop-up window to self-determine
    it's own size (width & height)? I need it to work
    in both I.E. and Netscape.

    I have seen tutorials on sizing popups from
    the script or anchor of a previous window,
    but none where the pop-up has it's own script
    or parameters to determine it's size.

    I need to do it this way, because I am trying
    to load the pop-up window from a plugin and
    pre-establishing height and width parameters in the
    plugin's script won't work in Netscape. It ignores
    them and just produces a full window (works in I.E.
    of course).

    thanx
    Russ Kinter
  • McKirahan

    #2
    Re: Selfsizing pop up window?

    "R. Russell Kinter" <Pyth7@comcast. net> wrote in message
    news:1a90d129.0 401050246.2a08c 62d@posting.goo gle.com...[color=blue]
    > Hi,
    > How do you get a pop-up window to self-determine
    > it's own size (width & height)? I need it to work
    > in both I.E. and Netscape.
    >
    > I have seen tutorials on sizing popups from
    > the script or anchor of a previous window,
    > but none where the pop-up has it's own script
    > or parameters to determine it's size.
    >
    > I need to do it this way, because I am trying
    > to load the pop-up window from a plugin and
    > pre-establishing height and width parameters in the
    > plugin's script won't work in Netscape. It ignores
    > them and just produces a full window (works in I.E.
    > of course).
    >
    > thanx
    > Russ Kinter[/color]


    Perhaps this JavaScript will help:

    function Resize(x,y) {
    resizeTo(x,y);
    moveTo(0,0);
    }


    Comment

    • R. Russell Kinter

      #3
      Re: Selfsizing pop up window?

      Outstanding! Worked great.

      So many Javascript methods, so little time :)

      thanx
      Russ

      "McKirahan" <News@McKirahan .com> wrote in message news:<i5fKb.740 904$HS4.5676484 @attbi_s01>...[color=blue]
      > "R. Russell Kinter" <Pyth7@comcast. net> wrote in message
      > news:1a90d129.0 401050246.2a08c 62d@posting.goo gle.com...[color=green]
      > > Hi,
      > > How do you get a pop-up window to self-determine
      > > it's own size (width & height)? I need it to work
      > > in both I.E. and Netscape.
      > >
      > > I have seen tutorials on sizing popups from
      > > the script or anchor of a previous window,
      > > but none where the pop-up has it's own script
      > > or parameters to determine it's size.
      > >
      > > I need to do it this way, because I am trying
      > > to load the pop-up window from a plugin and
      > > pre-establishing height and width parameters in the
      > > plugin's script won't work in Netscape. It ignores
      > > them and just produces a full window (works in I.E.
      > > of course).
      > >
      > > thanx
      > > Russ Kinter[/color]
      >
      >
      > Perhaps this JavaScript will help:
      >
      > function Resize(x,y) {
      > resizeTo(x,y);
      > moveTo(0,0);
      > }[/color]

      Comment

      • Thomas 'PointedEars' Lahn

        #4
        Re: Selfsizing pop up window?

        McKirahan wrote:
        [color=blue]
        > Perhaps this JavaScript will help:
        >
        > function Resize(x,y) {
        > resizeTo(x,y);
        > moveTo(0,0);
        > }[/color]

        If tabbed browsing is used, that will resize the whole browser
        window and all other tabs. Besides, why do you expect to be 0,0
        the coordinates of the left top corner of my preferred desktop?

        I have a useful button for such sites. It is located in the
        top right corner of the browser window or the tab (bar). *click*


        PointedEars

        Comment

        Working...