-
Book Overview & Buying
-
Table Of Contents
ASP.NET jQuery Cookbook (Second Edition) - Second Edition
By :
jQuery has simplified the adding of attractive visual effects on web pages. The library provides many supporting methods used to show, hide, fade, slide, toggle, and other custom animations. Let's briefly run through these methods:
Showing and hiding elements:
|
jQuery method |
Description |
|---|---|
|
|
This displays the matched elements |
|
|
This hides the matched elements |
|
|
This displays or hides the matched elements |
Fading elements:
|
jQuery method |
Description |
|---|---|
|
|
This animates the opacity of the matched elements by increasing them gradually until they reaches a value of 1, that is, they become opaque. |
|
|
This animates the opacity of the matched elements by decreasing them gradually until they reaches a value of 0, that is, they become transparent. |
|
|
This animates the opacity of the matched elements to the specified value. |
|
|
This animates the opacity of the matched elements to hide or display them. |
Sliding elements...
Change the font size
Change margin width
Change background colour