Also: aside from being cheesy, I was trying to get the side expanding box to look more like the ones at http://myasu.appstate.edu/, currently my implementation is slow and primitive. Any ideas?
Code: Select all
function expand()
{
if(targetID.offsetHeight >= height)
{
targetID.style.height = height + 'px';
return;
}
else
{
targetID.style.height = (targetID.offsetHeight + 2) + 'px';
setTimeout("expand()", 1);
}
}