Solved

web window always on top and floatable

Posted on 2007-03-26
6
209 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 WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

636 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