2 Replies Latest reply on Oct 26, 2006 9:29 AM by Josh Johnson

    Setting a Container's Height to 'Default'

    Josh Johnson
      I'm building a component, which has a collapsing toggle function, such that clicking on a target will either set the component's height to a predetermined height (collapsed state) or will reset the height to the default (open state). My problem is the latter, where I'm unable to set the component's height back to the default value, since that value can vary depending on the contents of the container. Can anyone suggest a way to set the value to default, when it's expencting a number for the parameter?