Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q587 Can I create a window that stays on top, but does not interfere with the other items open on the desktop?

irt.org | Knowledge Base | JavaScript | Window | Q587 [ previous next ]

Q587 Can I create a window that stays on top, but does not interfere with the other items open on the desktop?

Not really. You need to use the onBlur event handler within the remote window to regain the focus - this has the adverse effects on some browsers of not letting you converse with any other window.

You could try using a delay:

<body onBlur="setTimout('self.focus',5000)">

Which gives a five second delay before refocusing the remote window.


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.