animatedcollapse.addDiv('jason', 'fade=1,height=80px')
animatedcollapse.addDiv('kelly', 'fade=1,height=100px')
animatedcollapse.addDiv('michael', 'fade=1,height=120px')
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')
animatedcollapse.addDiv('alerts', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('news-feed', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('pending-leads', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('events', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('latest-update', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('download6', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('download7', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('download8', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.addDiv('download9', 'fade=0,speed=400,group=pets,persist=1,hide=1')
animatedcollapse.ontoggle=function($, divobj, state){ //fires each time a DIV is expanded/contracted
//$: Access to jQuery
//divobj: DOM reference to DIV being expanded/ collapsed. Use "divobj.id" to get its ID
//state: "block" or "none", depending on state
}
animatedcollapse.init()
|