The trigger is class on the object that will start the animation. Assign the class to the object that should be animated and replace 300 (milliseconds) to what you prefer
$( ".trigger" ).click(function() {
$( ".toggled-object" ).slideToggle(300);
});
Wrap this with document ready code.
(function($){
$(function() {
// Your custom code here
});
})(jQuery);
(function($){
$(function() {
$( ".trigger" ).click(function() {
$( ".toggled-object" ).slideToggle(300);
});
});
})(jQuery);