Results 1 to 3 of 3

Thread: animated colapible div problem

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

    Default animated colapible div problem

    1) Script Title: Animated Collapsible DIV

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

    3) Describe problem: I am using example 2 and trying to use several collapsible divs, but not matter which one I click, say a, b, c, or d, it is always the last div that opens and collapses. I have tried a bunch of things and scanned the threads but didn't see any mention of the same problem.

    The page I am working on is: http://www.editred.com/writerplus.php

    Any ideas?

    Alan

  2. #2
    Join Date
    Aug 2004
    Posts
    10,138
    Thanks
    3
    Thanked 1,007 Times in 992 Posts
    Blog Entries
    16

    Default

    The variable:

    Code:
    var collapse2
    needs to be unique as far as its name for each animated div instance on your page, so something like "collapse1" for the first DIV, "collapse2" for the second etc.

  3. #3
    Join Date
    Sep 2007
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i feel like I wasted you time...

    but thanks all the same, all cleared up now.

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
  •