slide

UK[slaɪd] 美[slaɪd]

vi.Slide; fall; skid; [baseball] slide

vt .fading (to); gradually lowering; to turn quietly; (to make) move quickly and quietly

n.slide; to lower

up

英[ʌp] 美[ʌp]

adv. Above, at a high place; get up, get up; upward; from low to high

adj. Upward; rising; upright of, vertical; lifted

vt.& vi.increase;accelerate;raise;lift, pick up

prep.at the upper end of;towards a high place;along with... Go; go... upstream

n. rise, rise; thrive, prosper; go uphill; (prices, etc.) rise

jquery slideUp() function syntax

Function:Hide the selected element by using the sliding effect, if the element is already displayed.

Syntax: $(selector).slideUp(speed,callback

Parameters:

ParametersDescription
speedOptional. Specifies the speed at which an element goes from visible to hidden (or vice versa). Default Is "normal". Possible values: milliseconds (e.g. 1500) "slow" "normal" "fast" With the speed set, the element will gradually change its height as it goes from visible to hidden (this will create sliding Effect).
callback Optional. The function to be executed after the slideUp function is executed. This parameter cannot be set unless the speed parameter is set.

Note: If the element has been hidden, the effect will not change unless a callback function is specified.

jquery slideUp() function example

$(".btn1").click(function(){  $("p").slideUp();});