Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please help - Keep window on top.

Status
Not open for further replies.

dv8er88

Programmer
Feb 21, 2005
42
US
Hi I have a contact manager that I want to popup in a modal popup but i need to go from page to page remembering the parent window so when I close the MODAL I can insert the contact info onto the page the it was poped up from.
I can't get this to work.so I am using a regular popup. This works great but I need to find a way to keep the window on top until like a MODAL.


Thank You,
Dv8er88
 
in my experience, the "opener" property of a child window will still point to the opener window even if the opener has been navigated from the actual page that spawned the child.

as far as modal behavior, in mozilla, it's a breeze: just add "modal=yes" to the list of window params in your window.open() call.

modal behavior in IE, good luck. IE has a modal window method, but if you navigate from the parent page, the modal child will be destroyed. you could also try calling window.focus() on the child on interval, but that can present problems with normal interaction with the parent or child windows...



-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
i like your sleeves...they're real big
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top