"And getting the containers size (The div element that containers your
content scroll area, sorry can't recall the property off the top of my
head), and then use"
the property you are looking for is scrollHeight

you may get some strange results in older versions of safari though.


On Thu, May 8, 2008 at 2:37 PM, Andrew Scott <[EMAIL PROTECTED]>
wrote:

>
> Steve,
>
> The short answer is not directly. Your best bet would be to browse the
> extJS
> forums, as it is based on that. However keep in mind that this is extJS
> 1.1
> (Coldfusion 8.01) or extJS 1.0 (Coldfusion 8) and not the latest 2.01.
>
> Now having said that, you could get the window object by doing something
> like this
>
> ColdFusion.Window.getWindowObject('cfWindow_name');
>
> And getting the containers size (The div element that containers your
> content scroll area, sorry can't recall the property off the top of my
> head), and then use
>
> ColdFusion.Window.getWindowObject('cfWindow_name').resizeTo(x,y);
>
> To resize the window.
>
> Does mean a bit of Javascript, but sorry to say that this is your best
> option.
>
>
>
> Andrew Scott
> Senior Coldfusion Developer
> Aegeon Pty. Ltd.
> www.aegeon.com.au
> Phone: +613  9015 8628
> Mobile: 0404 998 273
>
>
>
>
> -----Original Message-----
> From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf
> Of Steve Onnis
> Sent: Thursday, 8 May 2008 2:14 PM
> To: cfaussie@googlegroups.com
> Subject: [cfaussie] CFWINDOW height
>
>
> Can you have CFWINDOW have an auto height?  I need to be able to add some
> HTML to the window on the fly and I don't want it to start scrolling when
> I
> do
>
> Steve
>
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to