Re: window.open popup from maximized parent page?
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: window.open popup from maximized parent page?

From: Bob <robert_mccoy@acordianational.com>
Date: Fri Sep 23 2005 - 20:45:49 CEST

I believe I have been misunderstood (partly due to lack of information
provided by me). The webpages I am working on is an internal JSF
application that I am creating. I am wanting to emulate as close as
possible a fat client application that was written in PROGRESS. This
application has a main menu (5 or 6 buttons) that opens up and remains
open while the user is using this "application suite". I am opening
this main menu page (restricted size) from a main application index
page. And this is where my question lies....

Scenario 1:

When the INDEX page is maximized and the link that opens the MAIN menu
page (via the javascript function about) is clicked, the MAIN page
opens maximized as well.

Scenario 2:

Similar to above, however when the INDEX page is not maximized (ie:
windowed) and the link that opens the MAIN menu page is clicked, the
MAIN page opens to correct size that is specified in the window.open
statement.

Now, scenario 2 is the desired effect, but I also need scenario 1 to
also open in the appropriate smaller window size, even if the INDEX
page is maximized.

I understand that popups are not good general practice web development
techniques, however like I stated before, this a company internal
application that is to mirror a fat client, thus the need/desire to
limit resizing, status bars, toolbars, location bars, etc. I have been
to many sites in the past where a popup window is opened at a smaller
size, even if the page is maximized. If someone could please explain
to me how I can achieve this I would greatly appreciate it. And if it
is not possible, please explain an alternative.

All help is greatly appreciated as this is a semi-learning project for
me.

Thank you!
Received on Tue Oct 18 03:29:03 2005