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

Q66 How do I get a pop-up window to always stay on top?

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

Q66 How do I get a pop-up window to always stay on top?

The following works in JavaScript 1.1, although on a Mac it causes an error on Internet Explorer 3 and Internet Explorer 4:

<body onBlur="self.focus()">

To do this correctly, you really need a modal dialogue window, supported in Internet Explorer, but not in Netscape Navigator. Danny Goodman provides a solution for both browsers which is described at: http://developer.netscape.com:80/viewsource/goodman_modal/goodman_modal.html.

Feedback on 'Q66 How do I get a pop-up window to always stay on top?'


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.