FalcorTheDog
09-05-2007, 10:55 AM
1) Script Title: Animated Collapsible DIV
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: The div's on my site are changed dynamically after the page has loaded. The content of the divs to be expanded is changed using innerHTML commands after some user input. This results in divs with heights different than their original value on the page load. So when I try to expand the div (after its been modified), it only expands to show half of the content. Is there any way to "tell" the Animated Collapse script the new height of the div so that it expands it properly?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm
3) Describe problem: The div's on my site are changed dynamically after the page has loaded. The content of the divs to be expanded is changed using innerHTML commands after some user input. This results in divs with heights different than their original value on the page load. So when I try to expand the div (after its been modified), it only expands to show half of the content. Is there any way to "tell" the Animated Collapse script the new height of the div so that it expands it properly?