Note_Tech

All technological notes.


Project maintained by simonangel-fong Hosted on GitHub Pages — Theme by mattgraham

jQuery - Effect

Back


Basics

Effect Description
.show() Display element
.hide() Hide element
.toggle() Display or hide element

Fading

Effect Description
.fadeIn() Display the matched elements by fading them to opaque.
.fadeOut() Hide the matched elements by fading them to transparent.
.fadeTo(duration, opacity) Adjust the opacity of the matched elements.
.fadeToggle() Display or hide the matched elements by animating their opacity.

Sliding

Effect Description
.slideUp() Hide the matched elements with a sliding motion
.slideDown() Display the matched elements with a sliding motion
.slideToggle() Display or hide the matched elements with a sliding motion.

TOP