Keep a Popup window open

G

Guest

I created a popup window using createPopup method. Is there anyway to keep
the popup open until the user clicks a button within the popup to close the
popup window. Right now the popup window will close if I click outside the
popup window. I do not want that to happen until the user clicks a button in
the popup window.

thanks....
 
S

snt

I think you are looking for a Modal window functionality. For IE, you
need to use showModalDialog and for other browsers, you can use
window.open with parameter model=yes to open a modal window. This will
compell the user to close the window to access the parent window. Hope
this helps.

snt
http://www.onlinemall.com
http://www.flexoweb.com
 
G

Guest

Thanks for the reply but I would want to use that same functionality in the
createPopup method. I do not want to create a modal form... I want to use the
Popupwindow.

thanks again.

If anyone knows if this can be done please let me know...
 
C

Curt_C [MVP]

Angel said:
Thanks for the reply but I would want to use that same functionality in the
createPopup method. I do not want to create a modal form... I want to use the
Popupwindow.

thanks again.

If anyone knows if this can be done please let me know...

:

it cant.. you need to use the Modal functionality, its why it's there.
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top