specious / cloud9carousel

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

Can items also be links? #35

Open comshop opened 5 years ago

comshop commented 5 years ago

Hello out there As real rooky, i want to implement that slider as a kind of menue in my webproject. For this i will need the possibility to make the pictures clickable with some link inside, to bring users to the destination pages inside my project. I didn´t found any hint for that, and now, i am not shure if this would be possible with that script. Maybe someone can tell me, if that is possible, and if yes, how to do that in some easy way. Thank you so much for your time.. yours, Tom

specious commented 5 years ago

The carousel supports any HTML element as an item, so just use the cloud9-item class on the a tag. Clicking the item when it's in the background will bring it to the forefront. If it's already in front, the browser will follow the link.

I imagine this is a very popular feature.