javascript and IE

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

    javascript and IE

    how can i maximise the internet explorer when i call a jsp page.
  • Mike Preston

    #2
    Re: javascript and IE

    On 6 May 2004 00:47:53 -0700, mihirdm@rediffm ail.com (mihir maniar)
    wrote:
    [color=blue]
    >how can i maximise the internet explorer when i call a jsp page.[/color]

    I *think* this will work:

    window.resizeTo (((screen.width/2)*2),((screen. height/2)*2))

    Note the redundancy as space holders for making modifications.

    mike

    Comment

    • Dominique

      #3
      Re: javascript and IE

      rule of thumb:
      resize the height to screen height - (+/- 30)
      and position window to 0,0

      else the rest of the window will sit below the taskbar, and it'll position
      itself in the next reserved cascade position

      "Mike Preston" <mbpatpas.inval id@pacbell.net> wrote in message
      news:409a2458.1 33602840@news.I NDIVIDUAL.NET.. .[color=blue]
      > On 6 May 2004 00:47:53 -0700, mihirdm@rediffm ail.com (mihir maniar)
      > wrote:
      >[color=green]
      > >how can i maximise the internet explorer when i call a jsp page.[/color]
      >
      > I *think* this will work:
      >
      > window.resizeTo (((screen.width/2)*2),((screen. height/2)*2))
      >
      > Note the redundancy as space holders for making modifications.
      >
      > mike[/color]


      Comment

      • Richard Cornford

        #4
        Re: javascript and IE

        Dominique wrote:

        Please do not top post to comp.lang.javas cirpt. The FAQ details
        appropriate posting style for this group (among other things).
        [color=blue]
        > rule of thumb:
        > resize the height to screen height - (+/- 30)
        > and position window to 0,0[/color]

        Rule of thumb:

        Any assumptions about the presence, dimensions and location of OS
        features, especially those subject to user configuration, are invalid in
        Internet browser scripts.
        [color=blue]
        > else the rest of the window will sit below the taskbar, and it'll
        > position itself in the next reserved cascade position[/color]

        Apart from the obvious fact that the OS is not necessarily Microsoft
        Windows, the size and location of the taskbar are subject to user
        modification/preferences.

        Richard.


        Comment

        Working...