Maximising a popupwindow

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kåre Rasmussen

    #1

    Maximising a popupwindow

    Hi all

    I´m using a javascript based popupwindow in a webcalculation program. Once
    the calculation is done, and the result has been showen in the popupwindow,
    the user is able to go back to the webpage and ajust some of the values and
    press "calculate" again. Once´s the user does that, I would like the
    popupwindow (which is minimize) to maximize.

    I´ve tryed window.resizeTo (), but it didn´t help, so are there any other
    ways to maximize the window?

    TIA
    Kaare (DK)


  • Richard Cornford

    #2
    Re: Maximising a popupwindow

    Kåre Rasmussen wrote:
    <snip>[color=blue]
    > I´ve tryed window.resizeTo (), but it didn´t help, so are
    > there any other ways to maximize the window?[/color]

    Minimize/Maximize, as in the actions of the button icons on the window
    frames, are not scriptable in normal web browsers.

    Richard.


    Comment

    • Reply Via Newsgroup

      #3
      Re: Maximising a popupwindow

      Kåre Rasmussen wrote:[color=blue]
      > Hi all
      >
      > I´m using a javascript based popupwindow in a webcalculation program. Once
      > the calculation is done, and the result has been showen in the popupwindow,
      > the user is able to go back to the webpage and ajust some of the values and
      > press "calculate" again. Once´s the user does that, I would like the
      > popupwindow (which is minimize) to maximize.
      >
      > I´ve tryed window.resizeTo (), but it didn´t help, so are there any other
      > ways to maximize the window?
      >
      > TIA
      > Kaare (DK)
      >
      >[/color]

      You say you would like the popup window that is minimized, to maximize.

      Minimized is where its achored on the task bar, correct?

      Have you tried window.focus(); as opposed to resizeTo() as the latter
      resizes the window, while the former brings it in to focus.

      Hope that helps
      randelld

      Comment

      Working...