Solved

web window always on top and floatable

Posted on 2007-03-26
6
205 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Do we need servers??? 5 190
Stupid git question 2 61
Google maps isn't showing even after API has been entered 12 78
Standard for Web Development 3 27
Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
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…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
This video teaches users how to migrate an existing Wordpress website to a new domain.

910 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

21 Experts available now in Live!

Get 1:1 Help Now