jQuery

jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

slideUp(), slideDown() Methods in Jquery

slideUp()

 

 

The slideUp() method is used to slide up the selected element.

 

Syntax:-

 

Its syntax is:- $(selector).slideUp(speed, easing, callback)

 

Further Explanation:-

 

Parameter Description
speed Optional. Specifies the speed of the fading effect. The default is 400 milliseconds.
easing Optional. Specifies the speed of the element at different points of the animation. The default is swing.
callback Optional. A function to be executed after the slideUp() method is completed.

 

 

slideDown()

 

The slideDown() method is used to slide down the selected element.

 

Syntax:-

 

Its syntax is:- $(selector).slideDown(speed, easing, callback)

 

Further Explanation:-

 

Parameter Description
speed Optional. Specifies the speed of the fading effect. The default is 400 milliseconds.
easing Optional. Specifies the speed of the element at different points of the animation. The default is swing.
callback Optional. A function to be executed after the slideDown() method is completed.

Code Explanation

All Tutorials related to jQuery Advance

All Sections related to jQuery