﻿
/***********************************************
* Animated Collapsible DIV v2.4- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/


animatedcollapse.addDiv('englishcollapse', 'fade=1,height=410px')
animatedcollapse.addDiv('professionalcollapse', 'fade=1,height=170px')
animatedcollapse.addDiv('undergraduatecollapse', 'fade=1,height=40px')
animatedcollapse.addDiv('postgraduatecollapse', 'fade=1,height=40px')
animatedcollapse.addDiv('executivecollapse', 'fade=1,height=120px')
animatedcollapse.addDiv('pastevents', 'fade=1,height=930px')
animatedcollapse.addDiv('futureevents', 'fade=1,height=200px')

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.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()


