Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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

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

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?'

©2018 Martin Webb