The script does support dynamically showing or hiding a collapsible DIV. See the section "Available functions" on the script page for documentation on that. With that said, the code to collapse a DIV and redirect to another page after x seconds might look something like:
Code:
animatedcollapse.hide('jason')
setTimeout("window.location='http://www.google.com'", 600)
Where 600 = 600 milliseconds, and should coincide roughly with the time it takes to collapse the DIV (default is 500 milliseconds, see "speed" attribute when initializing the script).
Bookmarks