Musings
Public · Protected · Private
jQuery Effects
-
2012-04-26 11:43$(selector).hide() Hide selected elements $(selector).show() Show selected elements $(selector).toggle() Toggle (between hide and show) selected elements $(selector).slideDown() Slide-down (show) selected elements $(selector).slideUp() Slide-up (hide) selected elements $(selector).slideToggle() Toggle slide-up and slide-down of selected elements $(selector).fadeIn() Fade in selected elements $(selector).fadeOut() Fade out selected elements $(selector).fadeTo() Fade out selected elements to a given opacity $(selector).animate() Run a custom animation on selected elements
-
2012-04-26 11:46All the above methods go with following syntax $(selector).animate({params},[duration],[easing],[callback]) so expect callback function(if you want) easing if you want duration if you want style status -- final state of the selected element
This blog is frozen. No new comments or edits allowed.