Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap

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

You are here: irt.org | FAQ | JavaScript | Window | Q587 [ previous next ]

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.

©2018 Martin Webb