View Full Version : Animated Collapsible div - Use CLASS instead of ID

04-21-2012, 10:26 AM
1) Script Title: Animated Collapsible DIV v2.4

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem:

I'm using this script on my site for showing a comments form for each product but i need to use it multiple times on the same page, a few problems with this are:

a.the comment form is dynamic so i can only wrap it in a div once,
b multiple div's with the same ID on one page, the page won't pass validation.
c.using the same div will cause all the forms to expand / contract.

Is there any way this can be done?

04-22-2012, 06:38 AM
Please post a link to the problem page, plus point out the relevant markup you're trying to get to act as headers plus the corresponding expanding contents. Just from the above it's not entirely clear the full picture.