Combining modeless dialog and popup functionality?

P

Phil

Does anyone know if a modeless dialog box can be made to stay open when
the parent window is closed? Maybe something to do with disabling the
parent/owner?

I basically need to have a popup window which is always the top most
browser window, but still allows the user to continue browsing using
the parent browser window (therefore any onblur=self.focus() isn't
suitable), and isn't closed when the parent window is.

Any ideas?
 
J

Jim Michaels

Phil said:
Does anyone know if a modeless dialog box can be made to stay open when
the parent window is closed? Maybe something to do with disabling the
parent/owner?

I basically need to have a popup window which is always the top most
browser window, but still allows the user to continue browsing using
the parent browser window (therefore any onblur=self.focus() isn't
suitable), and isn't closed when the parent window is.

Any ideas?

JS only has alert, a modal dialog box.
you can come pretty close to simulating a dialog box with tables & such.
but then you are restricted to the popup-blocker problem. one of my sites
must be recoded because of it.
 
R

Rob Parsons

Hi Jim,

visit http://www.popuptest.com which has examples of all the possible popup
windows to test popup blockers.

You should be able to find good documentation on msdn library for the
showmodelessdialog function.

One thing to be wary of is the differing behavior of this method on XP and
non-XP versions of IE. Some popup blockers also force a front window to the
back if it is called by this method.
 
R

Randy Webb

Rob Parsons said the following on 3/2/2006 9:39 PM:
Hi Jim,

visit http://www.popuptest.com which has examples of all the possible popup
windows to test popup blockers.

No it doesn't. And most of what is on that site is utter junk.
You should be able to find good documentation on msdn library for the
showmodelessdialog function.

And then test it in any non-IE browser and wonder where your popup went?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,810
Latest member
Kassie0918

Latest Threads

Top