PDA

View Full Version : Controling multiple windows in web application


oaka
08-03-2004, 08:15 PM
Hi

I'm currently working on a web based version of some call centre software. Does anyone know if it's possible to do the following with javascript?

I'll explain what I would ideally like to happen -

When the application is launched I need the initial window to open full screen. This window will contain a navigation bar at the top with 5 navigation options.

Clicking on one of these options will cause a separate window to open containing it's own content and navigation. Ideally I would like the original window to always be behind the others.

I would also like to be able to control which open window is at the front at any one time. e.g. When window 3 opens, a menu appears on the left of the original window containing an option to bring window 3 to the front. If window 4 is also open there will be a 4 on the menu that will cause window 4 to come to the front etc.

Anyone know if this is possible? Would it be a lot of work to do?

Thanks :)

sad69
08-03-2004, 08:25 PM
I haven't done specifically what you're talking about, but I can see most of this being possible.

The one thing I'm not sure if you can do is keeping the original/main window in the background at all times.. if you've got all 6 windows open (the main + the 5..), it would be possible to have windows 3 and 4 behind the main windows and windows 1, 2, and 5 in front.

You may find this link useful:
http://tech.irt.org/articles/js128/

A quick Google search will turn up many more tutorials and references.

Sadiq.

oaka
08-03-2004, 08:57 PM
Thanks Sadiq