Skip to main content
100%

Boilerplate

✓ Published0🌍 Public
Aaaronbalthaser
Last edited May 27, 2014
Created on May 27, 2014

This example shows a simple image rotator that cycles through a series of figures with captions, displaying one at a time with a fade transition. Users can manually advance or rewind using the previous and next arrow controls, or enable automatic rotation by adding the "auto" class to the container. The implementation uses vanilla JavaScript with event delegation and the `classList` API to toggle visibility, while CSS transitions handle the opacity changes. The markup relies on standard HTML5 `<figure>` and `<figcaption>` elements, with placeholder images sourced from placehold.it.

AI-generated description

Similar vizzes