Results 1 to 3 of 3

Thread: Animated Collapsible DIV Not Callapsing Page

  1. #1
    Join Date
    Dec 2007
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Animated Collapsible DIV Not Callapsing Page

    1) Script Title: Animated Collapsible DIV

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.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!

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.

  3. #3
    Join Date
    Dec 2007
    Location
    Ankara, Turkey
    Posts
    160
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Default

    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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •