specious / cloud9carousel

:cyclone: 3D-perspective carousel for jQuery / Zepto
http://j.mp/cloud9demo
233 stars 88 forks source link

Basic Example does not work #25

Closed danielimmke closed 6 years ago

danielimmke commented 6 years ago

After trial and error, I was only able to get this library to work when I set a specific class name for all the items in the carousel and defined it using the itemClass property. It wasn't able to read basic section (parent) -> img (child elements) syntax automatically.

The only other thing I can think of is that I was using <section> not <div>. Figured I'd post it as an issue.

specious commented 6 years ago

By design, carousel items must carry a class name that matches the carousel's itemClass field, which can be overridden.

See: Carousel options