Try making the change in red to the original expanding code:
Code:
<script type="text/javascript">
//Syntax: var uniquevar=new animatedcollapse("DIV_id", animatetime_milisec, enablepersist(true/fase), [initialstate] )
var param=window.location.href.match(/expand=(\d+)/i)
var paramvalue=RegExp.$1
if (/\d+/i.test(paramvalue)){ //if URL parameter contains "?expand=integer"
animatedcollapse.dotask(window, function(){setTimeout("window['collapse'+paramvalue].slidedown()", 200)}, "load")
animatedcollapse.dotask(window, function(){setTimeout("document.getElementById('five').scrollIntoView()", 500)}, "load")
}
</script>
Basically it calls the DOM function scrollIntoView() on the DIV being expanded a slight delay after the DIV has been expanded (500 milisec versus 200 milisec). You may want to increase 500 to a 1000 instead if it's still not even time.
Not tested yet, but should work.
</script>
Bookmarks