Response title
This is preview!
<script type="text/javascript">with this CSS:
$(document).ready(function() {
$('.featureBox').hover(function() {
$(this).animate({top: '0px', height:'540px'},{duration:'slow', queue:'no'});
},
function() {
$(this).animate({top: '390px', height:'150px'},{duration:'slow', queue:'no'});
});;
});
</script>
And also changed hover for click on the CSS part and it now opens the DIV with a click event, but then i need to find the way to make it collapse after some other event.
WIch event would that be? I would like it to collapse after you hit a new DIV that is going to expand. The point for this is opening a submenu from a menu item with a click, and then make this expanded div collapse when you hit a second menu item that is then now going to be expanded.
© 2013 jQuery Foundation
Sponsored by and others.