Question : Animated Collapsible on Wordpress Search - Need Help!

I am trying to get an animated collapsible to work on my wordpress search results.

The script that I am using is:
http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

The problem is that I can only use 1 DIV tag for the search results since it calls out to the database and may get 1 result or 20.  So when I get multiple results, regardless of what search results post I click on, it will only open the very 1st collapsible.

How would I go about using the same DIV tag and still get the other one's to drop down using this script?


I hope my issue is clear enough, if not, I will try to rephrase.
Thanks in advance for your help!

 

Answer : Animated Collapsible on Wordpress Search - Need Help!

ok looks like we missed a line, change:
                                                      <div class="more"><a href="javascript:animatedcollapse.toggle('jason')" class="gen-btn"><span

to


                                                      <div class="more"><a href="javascript:animatedcollapse.toggle('jason_<?php echo $count; ?>')" class="gen-btn"><span
Random Solutions  
 
programming4us programming4us