You can "group" multiple collapsible DIVs so when one within the group is expanded, the rest is closed. See Example 4, 5, and 6 on the script page for a illustration of this.
To do this, inside the initialization code, just give each collapsible DIV the same "group" name, for 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')
Bookmarks