Solved

web window always on top and floatable

Posted on 2007-03-26
6
207 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

756 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