Effects methods in jquery
by GOKILAVANI[ Edit ] 2014-02-24 09:29:27
jQuery allows user to add simple effects to web page.
fadeIn()-Fades in the selected elements
fadeOut()-Fades out the selected elements
fadeTo() - Fades in/out the selected elements to a given opacity
hide()-Hides the selected elements
show()-Shows the selected elements
<u>
Toggle Effect:</u>
Toggle - Switch from one effect to another effect
toggle()-Toggles between the hide() and show() methods
slideToggle()- Toggles between the slideUp() and slideDown() methods
fadeToggle() - Toggles between the fadeIn() and fadeOut() methods
<u>
queue:</u>
queue()- Shows the queued functions on the selected elements
dequeue()- Removes the next function from the queue, and then executes the function
clearQueue() - Removes all remaining queued functions from the selected elements
<u>
animate:</u>
animate() - Runs a custom animation on the selected elements
stop() - Stops the currently running animation for the selected elements
finish() - Stops, removes and completes all queued animations for the selected elements