[thelist] Keeping Pop-up Windows always on top?

Cesar Martinez a110y at hotmail.com
Mon Apr 9 12:38:39 CDT 2001


This works but it's generally a horrible user experience. A good example of 
it's use is on www.cheaptickets.com, where they create such a pop up while 
they load their itinerary page, and have the window close when the page 
underneath is done loading.

This does cause problems for the user in unfortunate ways, though.

If your closer method waits for the page to finish loading you might wind up 
'kidnapping' the user, where they can't click ANYTHING on their machine (the 
desktop, other running applications) because the onblur() handler keeps 
triggering (this happens in WinNT with NS and IE, at least). If you have a 
banner ad on the page underneath or something else (java applet, flash 
object, ActiveX control) that takes a while to load, you might be 
infuriating your user. I see the laugh-o-rama site is Flash-heavy on almost 
every page.

I don't, however, have a really good alternative solution. What do you want 
these pop-ups always on top for? What are they going to be used for? Maybe 
the design of your page could benefit from a different approach.

--CM

----Original Message Follows----
From: "Jeremy Hare" <jeremy at billco.com>
Reply-To: thelist at lists.evolt.org
To: <thelist at lists.evolt.org>
Subject: Re: [thelist] Keeping Pop-up Windows always on top?
Date: Mon, 9 Apr 2001 10:12:05 +0100

You could try something like this in the body of the popup:

<BODY onBlur="window.focus();">

It will keep the focus on the popup untill it is closed.  Works in IE not
sure about x-browser.

----- Original Message -----
From: <thelist at lists.evolt.org>
To: <thelist at lists.evolt.org>
Sent: Saturday, April 06, 2002 12:33 AM
Subject: [thelist] Keeping Pop-up Windows always on top?


 > Howdy,
 > I'm trying to get the pop-up windows on our page (www.laugh-o-rama.com) 
to
 > stay on top of all other windows.
 > When you click the Gaspritz link a pop up window appears but if you click
 > back on the main window the pop up goes behind. Is there a way to keep 
the
 > pop up from going back? I tryed the focus method but that only works for
 > other pop ups.
 >
 > Thanks
 > Rob Wilson
 > www.laugh-o-rama.com
 >
 >
 > ---------------------------------------
 > For unsubscribe and other options, including
 > the Tip Harvester and archive of TheList go to:
 > http://lists.evolt.org Workers of the Web, evolt !
 >


---------------------------------------
For unsubscribe and other options, including
the Tip Harvester and archive of TheList go to:
http://lists.evolt.org Workers of the Web, evolt !

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com





More information about the thelist mailing list