The jQuery UI library provides many interesting effects that can be easily applied on ASP.NET sites. We have already seen the bounce
effect when applied to images in an earlier recipe. In this particular example, we will make use of another effect called explode
and apply it to a GridView
control. The constructs used in this example are as follows:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects an element using its ID. |
|
jQuery method |
This prevents the default action of the event from being triggered. |
|
jQuery UI effect |
This splits an element in the specified number of pieces while hiding or showing it. |
|
jQuery method |
This hides the matched elements. |
|
jQuery method |
This returns a Boolean value if the matched element satisfies a given condition. |
|
Property of the jQuery UI explode effect |
These are the number of pieces to be exploded... |