1) Script Title: Animated Collapsible DIV
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...edcollapse.htm
3) Describe problem:I found this post about this topic (here) but I am not sure how to tweak my code to make this work since the example is different than what my code looks like... I am not very familiar with Java Script but I can follow direction fairly well... If some one would be so kind as to help me undestand how to adjust my code to make the div close after 5 seconds... I have also used the altered version of the script that automatically expands the div on page load. found here
Here is my Code:
<div animatedcollapse.addDiv('expand','fade=1,height=115px,speed=800,hide=0') id="expand" style="height: 115px; widows:960px; display:none;">
div content bla bla bla
<a href="javascript:animatedcollapse.hide('expand')"><img src="/images/closebutton.gif" border="0" /></a>
</div>
Thanks in advance to anyone who would be willing to tell me how to get this div to automatically collapse after 5 seconds



Reply With Quote



Bookmarks