A simple image carousel using the JQuery Tools "Scrollable" library.

- 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:
#getMyPlugin("Carousel").render(rc.myObject.getImageArray())#

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.

1.0: Initial Release

 

 
  •   Craig McDonald
  • 1.0 is the latest of 1 release(s)
    Published
  • Published on Jun 09 2016 01:11 PM
$ box install Image-Carousel
  • Jan 27 2010 06:26 PM
  • Jun 09 2016 01:11 PM
  • 4521
  • 1667
  • 6