If you use firefox and firebug, turn on the inspection option in firebug and
roll your mouse over the upper left corner of the window. You should be able
to find the windows containing div, it should look something like this:

<div id="your-win-id" class=" x-window x-resizable-pinned" style="position:
absolute; z-index: 1003; visibility: visible; left: 374px; top: 73px; width:
1070px; display: block;"><div class="x-window-tl"><div
class="x-window-tr">...


Find the ID of the containing div and in the firebug console type
Ext.getCmp('window-id').  This will dump all of the windows methods and
properties, look through it for the method you need and try calling it
directly via the console (eg. Ext.getCmp('window-id').setPosition(x,y)

Now, I have never used Coldfusions Ext implementation, and this is only how
I would do it with the standalone Ext library. I don't know if it will work
the same. I assume that the Ext namespace exists and can be used like this?
But I could be wrong...

Brook

-----Original Message-----
From: Andrew Scott [mailto:[email protected]] 
Sent: October-25-10 7:28 PM
To: cf-talk
Subject: RE: Dynamically resizing a cfwindow?


Which version of ColdFusion are you trying this on?

Regards,
Andrew Scott
http://www.andyscott.id.au/

> -----Original Message-----
> From: Pete Ruckelshaus [mailto:[email protected]]
> Sent: Tuesday, 26 October 2010 12:38 PM
> To: cf-talk
> Subject: Re: Dynamically resizing a cfwindow?
> 
> 
> Not sure if I follow.  Put the code in the parent window?  I tried that,
works in
> IE, doesn't work in Chrome.
> 
> The interesting thing is that when I launch the cfwindow using IE (I
normally
> use Chrome), it resizes the parent window, but not the cfwindow (even
> though the this.resizeTo() code is in the page loaded within the
cfwindow).
> 
> Pete




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

Reply via email to