Animating the alt text of the AdRotator control
The AdRotator
control is used to display advertisement banners on web pages. The control loads a new banner each time the page is refreshed. In this demonstration, let's enhance the AdRotator
control to display the alt text of an ad banner with the sliding animation. The constructs used in this example are as follows:
Construct |
Type |
Description |
---|---|---|
|
jQuery selector |
This selects an element using its ID |
|
jQuery selector |
This selects all elements with the specified HTML tag |
|
jQuery method |
This adds the specified CSS class to each matched element |
|
jQuery method |
This performs a custom animation on the specified CSS properties |
|
jQuery method |
This gets the CSS property of the first matched element or sets one or more CSS properties for every matched element |
|
jQuery event property |
This returns the mouse position relative to the left edge of the document |
... |