Skip to content Skip to sidebar Skip to footer

Slide Down And Delay In Jquery

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 if i'm not

Solution 1:

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

Solution 2:

Try this:

$this.delay(5000).slideUp(6000);

Solution 3:

following is the DEMO: http://jsfiddle.net/2sMFn/19/

function name is 'slideUp()' instead of 'SlideUp'. So use this :

$this.delay(5000).slideUp(6000);
​ 

Post a Comment for "Slide Down And Delay In Jquery"