PDA

View Full Version : Animated Collapsible DIV v2.2 Change ID



CoolD78
03-09-2009, 10:42 PM
1) Script Title: Animated Collapsible DIV v2.2

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

3) Describe problem: Great job on the updated script. I like the addition to the ontoggle Event Handler and changing the SRC property. I would like to see if the CLASS property can be changed. I am using an h2 tag as the header with CSS adding a background-image that shows Expand. I want to change the CLASS property that will change the background-image that shows Collapse.

Maybe there is a better way to do this.