PDA

View Full Version : how to open a window that stays on top (both IE and NS6+)


wac
11-05-2002, 04:19 PM
I'd like to be able to pop up a window that stays on top of the parent window. window.open doesn't seem to do this. I don't know if it needs to be modal, but primarily I want the window to be able to always stay ontop of the parent. It seems like both NS6+ and IE have this feature but I've not been able to figure it out.

requestcode
11-05-2002, 05:46 PM
In the body tag of the popup window you could try:
<BODY onBlur="this.focus()">

or window.focus()

wac
11-05-2002, 06:23 PM
Thanx,
Does the new window inherit the reqest/response/session/pagecontext objects from the parent window? I'll be doing this from within a JSP used by a portal and want to make sure that nothing is broken.