CSS-Tricks / MovingBoxes

Simple horizontal slider which grows up the current box when it's in focus (image, title & text) and back down when it's not in focus.
http://css-tricks.github.io/MovingBoxes/
GNU Lesser General Public License v3.0
280 stars 147 forks source link

display multiple sliders on one page #132

Open MaikoHermans opened 8 years ago

MaikoHermans commented 8 years ago

I'm making a site where I want to use movingboxes to display images with a certain text. I can add multiple posts with images. However only the first one that is created has a working slider.

The other once just don't work. Is there a way to get them all to work dynamically? and if so how would one achieve this?

Mottie commented 8 years ago

Hi @MaikoHermans!

I created this demo to show that it is possible to have multiple sliders. Please share the code being used to initialize the plugin.