Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ordering pop-up windows

Status
Not open for further replies.

wlfpackr

IS-IT--Management
May 3, 2003
161
US
I work for a company that is part of a much larger company. We have Outlook available to us through Internet Explorer, however, I'm afraid there is going to be some confusion by my users on how to log in. Note that we can't edit the homepage for Outlook Web Access. It is controlled by the mothership.

Soooooo, I'm trying to create a link on our own intranet page with Javascript that will open up the "Outlook Web Access" page and also create a pop-up window with some instructions on how to login to the "Outlook Web Access" page.

My problem is that the window with instructions keeps getting pushed to the back and gets hidden. I call the instruction sheet 2nd in my script, but b/c it loads so much faster it always gets pushed to the back when the Outlook Web Access page opens. Is there a way to order the windows with Javascript and make one window be on top of another? My only other choice is to create it all with frames in a single window, but I really dislike doing that. (don't know why, just do)



=================
There are 10 kinds of people in this world, those that understand binary and those that do not.
 
You could try setting a timer in your instructions page to bring itself to the front. Note, however, that this might not work in all browsers:

Code:
setTimeout(function() { window.focus(); }, 2500);

This would focus the window after 2.5 seconds.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top