Advanced Layer Popup Support Product Page

This topic was archived

Close popup with javascript

Asked 31 Jan 2007 22:40:22
1
has this question
31 Jan 2007 22:40:22 Rudi Boutinaud posted:
Is there a javascript function to close the popup, so that I can attach it to a button within the page loaded within it.

reloading the page is not an option, as I'm working with loads of ajax panels, which would then be reset.

I could manage with just the names of the divs created, and will write the javascript myself

many thanks for some help

Rudi

Replies

Replied 01 Feb 2007 12:51:11
01 Feb 2007 12:51:11 George Petrov replied:
Hi Rudi,

I just made a FAQ for this:

www.dmxzone.com/go?12938

Greetings,
George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFiles.nl
--------------------------------------------------
Replied 01 Feb 2007 17:42:06
01 Feb 2007 17:42:06 Rudi Boutinaud replied:
Hi George,

thanks for this, it works if you have the command in the original document, but if you put it the file opened by the popup you get an error.

Any idea how I can get round this as I want to use this with an overlay.

thanks
Rudi
Replied 01 Feb 2007 18:15:19
01 Feb 2007 18:15:19 Rudi Boutinaud replied:
I found the way to do it, just use parent.cDMXPopupWindow.closeWindow('dmxPopupMyWindow')

happy time
Replied 10 Apr 2007 20:49:28
10 Apr 2007 20:49:28 Greg Sloman replied:
Thanks for the post
Replied 13 Apr 2007 20:53:45
13 Apr 2007 20:53:45 George Petrov replied:
Thanks Rudi - I've adjusted the FAQ to reflect this as well.

Greetings,
George

--------------------------------------------------
George Petrov - Founder of the Dynamic Zones
DMXzone.com, FWzone.net, FLzone.net, CFzone.net,
DNzone.com, FlashFiles.nl
--------------------------------------------------

Reply to this topic