noreiller / bootstrap-modal-carousel

A set of plugins to display a carousel into a fullscreen modal box
http://noreiller.github.com/bootstrap-modal-carousel
MIT License
128 stars 63 forks source link

Images as fullscreen toggles #5

Closed itbra closed 10 years ago

itbra commented 10 years ago

Would you mind to make images themselves toggles for the modal-fullscreen or modal-carousel mode rather than an extra button?

noreiller commented 10 years ago

The button is here for the demo, you can set on your slide images the same data attributes than the button : data-local="#myCarousel" data-target="#myModal" data-toggle="modal". Don't forget to set the "modal-fullscreen" to your modal (or add it on the click of the images) and that should be ok.

itbra commented 10 years ago

Ok, my bad. Didn't consider this.. :-) Thanks for that hint!