I don't know specifically about cfwindow, since I usually open windows
purely through JS. However I would think that if you kept the name parameter
the same for every call it will automatically use the same window to display
the page. It doesn't close the old one and open a new one per-se, it just
changes the url. The effect though is the same. And if you need to resize or
reposition you can do it via the usual window x, y, width and
height properties.

Hopefully this doesn't just muddle things for you. I know it's a cf question
but if you understand the js approach it might make you better understand
the cf implementation. Here's a good link to explain what the window object
actually consists of. The open() method is what you're most concered with.
http://www.javascriptkit.com/jsref/window.shtml

<http://www.javascriptkit.com/jsref/window.shtml>

On Tue, Jun 22, 2010 at 10:11 AM, Paul Alkema
<[email protected]>wrote:

>
> Hi,
>
> Does anyone know if there is any possible way to close all open cfwindows
> when a new cfwindow is opened? I would like to have only one cfwindow open
> at a time.
>
>
>
> Regards,
>
> Paul
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335283
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to