473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Combining modeless dialog and popup functionality?

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?

Nov 19 '05 #1
3 1626

"Phil" <ph****@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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.
Mar 3 '06 #2
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.
"Jim Michaels" <NO***************@yahoo.com> wrote in message
news:6O********************@comcast.com...

"Phil" <ph****@gmail.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
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.

Mar 3 '06 #3
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?

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 3 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: QA | last post by:
http://www.popupcheck.com/popup_manual/modeless.asp can still have a popup even when I have a popup blocker - google toolbar. I want to know the technology, but I can not read the source code....
3
by: Phil | last post by:
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...
1
by: Carmine | last post by:
I'm currently writing a small program that churns on a repetitive task while displaying a progress & cancel modeless dialog. I've been having problems due to threadlocking, and I was wondering if...
1
by: andrew | last post by:
Hi there, I'm having a problem with a modeless form in my app. I have a main form in my app and a socket that waits on data from a server (I use BeginReceive/EndReceive for that) and when I...
0
by: James | last post by:
I have an ASPNET application using form authentication. After a user logins in, he opens a modeless dialog page. Inside this dialog box there are links to other pages of the same web application....
8
by: proit_123 | last post by:
I am working on a windows forms application and have the following requirement. I have two projects in my application Project A and Project B. And Project A has the reference of Project B. I...
3
by: AboutJAV | last post by:
Hi, I created a child dialog to tell the user that there is a loading of data from the database. When the loading is done, the child dialog will close. The child dialog contains a custom control...
0
by: Ralstoj | last post by:
Hi I am programing in Autocad with VB Autodesk have not given users access to new note function in Autocad CIVIL3d API. I am trying to work round this by creating notes using the sendkey...
0
by: Sin Jeong-hun | last post by:
I've found that if a MessageBox (called by alert/confirm from Javascript) or a web page modeless dialog is popped up, I cannot call Navigate of the WebBrowser control. If I do, a COM exception...
1
by: sowen | last post by:
In IE, I am using showModalDialog to pop up a modeless window, then the object "opener" is undefined. well, I pass the parent window object as an argument to pop up, then I can redirect the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.