View Full Version : Animated Collapsible DIV Not Callapsing Page

12-14-2007, 08:09 PM
1) Script Title: Animated Collapsible DIV

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem: I am using the expand/contact version for several links on the following page (http://www.themebath.com/test.aspx). The problem is when one of the links is clicked to collapse the div, the div collapses, but the footer does not. Also, there are times when the page loads and the footer has already been moved down as if every div had been expanded already (however, I have nothing set for the initial state). Please let me know how to fix this. My website is hosted by Network Solutions/MonsterCommerce.

Also, can you please define enablepersist for me? Thanks!

12-15-2007, 09:51 AM
I tried poking around to find the problem, though unfortunately so far I haven't isolated it yet. It most likely does have something to do with the CSS of your site. Try creating a blank page, and putting just the HTML of the pertaining collapsible contents on it to see if it works correctly. Then slowly add back the rest of your page to see what is causing the problem with the non collapsing footer.

12-15-2007, 11:44 AM
I think adding a line which sets the "display" property of the slided element to "none" when it is collapsed in the code may solve the problem.