Solved

web window always on top and floatable

Posted on 2007-03-26
6
200 Views
Last Modified: 2013-11-19
I have to develop a web app (in asp) that will display in 1 IE window data about records for which users will have to do some research to either confirm that data, change it or even add to it. Records will be displayed one at a time in that window.
Users will do their research using different tools:  some in other web sites, some in other applications I have no control upon.
I need that my window be always on top of all other windows, whatever the tools used by my users for their research. My window must also be fo float anywhere on the screen, so that my users can see what they want in the other tools at the same time they see my window and make changes in it.
How do I do that?
0
Comment
Question by:Gite
  • 2
  • 2
6 Comments
 
LVL 5

Expert Comment

by:PhilHow
ID: 18796825
Try adding focus event to body:

<body onblur="self.focus">

There is noway to guarantee anything method will keep your window on top.  You have no control over what code is on other pages. You migh have situation where conflict with another window results in browser crashing or hanging.  Your requirement is unreasonable if you do not control the code on other windows that might be accessed.

You need  clilent side program written in C++ of Java, this is way beyond normal use for a browser.

0
 

Author Comment

by:Gite
ID: 18797311
I tried this:
<head>
<html>
<head>
<title>test on top</title>
<body onblur="self.focus">
abcdef
</body>
</html>

It doesn't stay on top, even though the other windows are IE windows.
Is there anything wrong?
0
 
LVL 5

Accepted Solution

by:
PhilHow earned 500 total points
ID: 18803894
No there is nothing wrong.  I took a stab at something that mike work part of the time. I guess it doesn't.  As I said nothing is going to give you the full control you want any way and you prbably end up crashing the browser at some point.  You probably need to re-think the design.

Without a executable program that can acces OS controls you are not going to get anywhere with this.  It is not something a browser is capable of.

0
 

Author Comment

by:Gite
ID: 18804051
I found a solution on the web. It works well here. I'll test eventually with the other apps my users will use.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now