1 Reply Latest reply: Nov 29, 2007 6:07 PM by Newsgroup_User RSS

    setting height of cfwindow in javascript

    Ronsweb Community Member
      Hello,

      Does anyone know if there is a way the user can set the height of a existing cfwindow using a javascript function to resize the cfwindow. I could create a new window, however, I want to modify the height of an existing window.

      Thanks.

      Ron
        • 1. Re: setting height of cfwindow in javascript
          Newsgroup_User Community Member
          cf8 includes a function ColdFusion.Window.getWindowObject('windowname'),
          which can be called in regular js (not in cfscript), and will give you
          access to its underlying ExtJS object and all its properties and
          methods, which you can then manipulate as you like. see extJS website
          or the docs included with cf8 (inside the CFIDE\scripts\ajax\ext\docs
          folder on Win install) for more info.

          ---
          Azadi Saryev
          Sabai-dee.com
          http://www.sabai-dee.com