May 2017
Intermediate to advanced
448 pages
10h 10m
English
Passing parameters to plugin methods is no different than doing so with native jQuery methods. In many cases, parameters are passed as a single object of key-value pairs (as we saw with $.ajax() in Chapter 6, Sending Data with Ajax). The choices of options to provide can be quite daunting; .cycle() alone has over 50 potential configuration options. The documentation for each plugin details the effect of each option, often with detailed examples.
The Cycle plugin allows us to alter the speed and style of the animation between slides, affect how and when slide transitions are triggered, and react to completed animations using callbacks. To demonstrate some of these capabilities, we'll provide three simple ...
Read now
Unlock full access