Thursday, November 18, 2010

Effect Functions

Event functions will allow to react to user input while the effect methods let us do so with style. For example instead of immediately hide or show elements you can do so with an animation.
this.toggleClass('arrow-down')
.next()
.slideToggle('fast');

No comments:

Post a Comment