If you mean have the toggler image when clicked on collapse the other contents before expanding the current (and visa versa), you can do this by "grouping" those contents when initializing them. Example:
Code:
animatedcollapse.addDiv('cat', 'fade=0,speed=400,group=pets')
animatedcollapse.addDiv('dog', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('rabbit', 'fade=0,speed=400,group=pets,hide=1')
By adding the string "group=somegroup" to certain contents, those contents will behave as a group, so expanding one will simultaneously collapse the others as well. See he documentation for "group=groupname" on the main script page for more info.
Bookmarks