A simple image carousel using the JQuery Tools
- Copy the Carousel.cfc plugin into your plugins directory.
- Copy or include the CSS for the carousel into your layout.
- Include the jquery.tools.full.min.js in your layout.
In your view, add:
Where myObject includes an array of Image Objects (you will probably note I'm using Transfer ORM, but this plugin by no means requires use of Transfer).
The Carousel assumes there is a Render() method in your Image Object, and will render it accordingly. If your use-case is different (chances are it is), modify the output accordingly.
Here are all the versions for this package. Please note that you can leverage CommandBox package versioning to install any package you like. Please refer to our managing package version guide for more information.
||Jan 27 2010 06:26 PM
||Jun 09 2016 01:11 PM