Here's another flaw. I tried to set the width and height of a CFFORM dynamically - but you can't!!! var w = System.capabilities.screenResolutionX var h = System.capabilities.screenResolutionY <CFFORM width="{w}" height="{h}"> DOES NOT WORK! YOU GET AN ERROR. Works with almost any other tag, why not one of the most important ones???
Here's another flaw. I tried to set the width and height of a CFFORM dynamically - but you can't!!! var w = System.capabilities.screenResolutionY var h = System.capabilities.screenResolutionX <CFFORM width="{w}" height="{h}"> DOES NOT WORK! YOU GET AN ERROR. BUT - you can dynamically set the w/h of a CFFORMGROUP tag, like so for a tabnavigator form: <CFFORM name="admin_main" format="Flash" skin="haloGreen" style="display:inline;" target="bottom"> <CFFORMGROUP type="tabnavigator" width="{System.capabilities.screenResolutionX}" height="{System.capabilities.screenResolutionY}" style="fontSize:12px;fontFamily:Verdana;" > <cfformgroup type="page" label="Users" style="fontSize:12px;fontFamily:Verdana; horizontalAlign:center"> PAGE 1 </cfformgroup> </cfformgroup> </cfform> This sets the Flash form to browser width/height when the form loads. Should solve those annoying multiple scrollbar problems. You can also subtract or add to the w/h: {System.capabilities.screenResolutionY - 50} Hey techs! Works with almost any other tag, why not with CFFORM??
Don't see what you're looking for? Try a search.
|