Results 1 to 3 of 3

Thread: Using the Animated Collapsible Div on Query results

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

    Default Using the Animated Collapsible Div on Query results

    1) Script Title: Animated Collapsible DIV

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

    3) Describe problem: I would like to use this script on multiple query results but it will only apply the collapsible effect on one of the listings. I am assuming this is because this script works around a css div and my understanding is that you can only have one instance of a particular div id on a page.

    Is there away to apply this script to multiple query results on the same page?

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

    Default

    Why can't you simply modify your query output so each DIV contains a unique ID? In CSS this is required anyway.

  3. #3
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks. With a little more "think", I did just that. Since I'm new to the PHP and Mysql, it took me a little time to modify the script. I ended up learning a great deal just chasing down my answer.

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
  •