| Author |
Keep a Popup window open
|
|
|
| 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....
| |
|
| 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
| |
|
| 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...
"snt" wrote:
> 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
>
>
| |
| Curt_C [MVP] 2005-07-28, 5:03 pm |
| Angel wrote:[color=darkred]
> 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...
>
> "snt" wrote:
>
>
it cant.. you need to use the Modal functionality, its why it's there.
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
| |
|
|
| Sreejith Ram 2005-07-29, 9:05 am |
| Modal window is the right method..
another method , you could try is to make the focusing itself.. sample code
is in belwo link .. havent tried it..
http://www.irt.org/script/66.htm
"Angel" wrote:
[color=darkred]
> 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...
>
> "snt" wrote:
>
|
|
|
|