I\'m trying to make an hidden div slide down on the click of a button and also wait for about five seconds before sliding back up. I\'ve tried the delay() but i don\'t know
Try this:
$this.delay(5000).slideUp(6000);
You're on the right track, but you have to change this:
$this.delay(5000).SlideUp(6000);
to this
$this.delay(5000).slideUp(6000);
as it's slideUp whithout the capitol "S" ?
FIDDLE
following is the DEMO: http://jsfiddle.net/2sMFn/19/
function name is 'slideUp()' instead of 'SlideUp'. So use this :
$this.delay(5000).slideUp(6000);