PDA

View Full Version : Animated Collapsible Div - mouseover



Stylepile
07-26-2007, 03:38 PM
1) Script Title: Animated Collapsible Div

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/animatedcollapse.htm

3) Describe problem: Would anyone be able to tell me how to make this script work on a mouseover event instead of a click event?

Veronica
07-26-2007, 05:19 PM
Replace the links to slide the div with:

<a href="#" onMouseover="javascript:collapse1.slidedown(); return false;">Slide Down</a> || <a href="#" onMouseover="javascript:collapse1.slideup(); return false;">Slide Up</a>