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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

keep page on top 1

Status
Not open for further replies.

gagz

Programmer
Nov 21, 2002
333
US
is there a way to keep a web page on top of other pages/application running on the desktop?
 
If you are talking about a popup launched from a webpage - then *sort of*. Otherwise there isn't a way to do it outside of modifying the way your OS handles the z-order of the application windows.

With that said - there is a application called WindowBlinds by Stardock ( that can add the functionality to *lock* a window on top of all the others. Again, it is modifying how Windows handles the z-order of individual windows and forces the selected window to be "always on top". The user turns this *lock* on and off as he/she wishes - I don't believe there is a way for a web page to control this.

Hope this is helpful.

Einstein47
("Vision without action is a daydream - Action without vision is a nightmare. Japanese Proverb")
 
nuts... i can't exactly expect my users to all install window blinds :) thanks anyway.
 
After my last post - I did a little searching. If you put the following in the <BODY> tag of your page the user will not be able to move off of it (unless they go to a different page or close their browser)

Code:
<BODY onBlur=&quot;window.focus()&quot;>

Seems to work pretty nicely. Let me know if it does what you want.


Einstein47
(&quot;Vision without action is a daydream - Action without vision is a nightmare. Japanese Proverb&quot;)
 
living up to the name, sweet.
 
also i have a little program that can block certain pages...if a website does this to me i can guarantee it makes it to my &quot;black list&quot;

[Hammer]
Nike Failed Slogans -- &quot;Just Don't Do It!&quot;
 
Yes, that is generally very annoying, but I can also see valid uses for it, and if it's being used correctly, it should be fine.

Rick

-----------------------------------------------------------
RISTMO is back! Sorry I've been away for so long--it's been a busy year ;-)
RISTMO Designs
Arab Church
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top