Results 1 to 2 of 2

Thread: Animated Collapse height variable

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

    Default Animated Collapse height variable

    1) Script Title: Animated Collapse

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm

    3) Describe problem: I am using AJAX to call external files into a DIV which is set as collapsable; without specifying a height, animated collapse "sets" it at the height of the first external file (the default one), making it cut off information in other called external files which are longer.

    Wondering if there is a painless way for this script to allow for contraction/expansion of a div along with sliding it open/closed.

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

    Default

    You may need to manually update the "contentheight" property if the content is being fetched via Ajax. See this thread: http://www.dynamicdrive.com/forums/s...ad.php?t=24159

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
  •