Jquery Combine SlideUp/Down and on click
问题 I have created two scripts, one which has slide up and slide down commands which work on timers when the page is loaded. The second is a click event where a slideup/down command is executed when a link is clicked. Both these scripts work separately but I cannot get them to work together. Here is the timed slideup/down script: $(document).ready(function() { $('.slide-out-div').hide(); $('.slide-out-div') .delay(5000) .slideDown(300); $('.slide-out-div') .delay(5000) .slideUp(500); }); Here is