I need a code to make a div collapse and have other divs slide up rather than just disappear. My current code is:

Code:
function hideDiv(divId) {
	divId.style.visibility = 'hidden';
}
e39m5