download


craig@neuralmotion.com.au's Gravatar   Craig McDonald Jan 27, 2010 at 6:26 PM Feb 12, 2012 at 4:10 PM 1.0 3.0 Plugins 2067 619

Image Carousel

A simple image carousel using JQuery Tools

Description

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


Installation Instructions

- 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.

Changelog

1.0: Initial Release