I have created a script to make my div expandable.
$('.expandable').find('h2').on('click', function(){
$(this).parent().css({height: (parseInt($(this).parent().css('height')) > 50)?'25px':'auto'});
$(this).find('i').toggleClass('icon-plus-sign icon-minus-sign', 300);
})
How can i configure the speed or duration of my div expandable, i want it going down slower and smoothly.
Thanks
Here my accordion