telephonefield
03-31-2009, 04:10 PM
1) Script Title: Animated Collapsible DIV (ontoggle Event Handler)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse_suppliment.htm
3) Describe problem:
Not so much a problem, rather a simple question of modifying the ontoggle event handler to change some simple .css of the element being toggled.
Instead of changing the src image of the "Toggle Button" I'd like to simply change it's class. Although, I'm also interested in knowing how to change ANY .css property of the button (color, font-size, etc.).
So, in the provided code for the Event Handler what would I need to change in order to assign a NEW class to the "Toggle Button"?
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse_suppliment.htm
3) Describe problem:
Not so much a problem, rather a simple question of modifying the ontoggle event handler to change some simple .css of the element being toggled.
Instead of changing the src image of the "Toggle Button" I'd like to simply change it's class. Although, I'm also interested in knowing how to change ANY .css property of the button (color, font-size, etc.).
So, in the provided code for the Event Handler what would I need to change in order to assign a NEW class to the "Toggle Button"?