Solved

web window always on top and floatable

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
input text box not behaving properly when debug points are set 4 64
Remove lines by logo 2 29
tag title an image 13 30
Wordpress "chart" plugin recommendation 7 51
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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ā€¦
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

808 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