FAQ - Lightbox / Modal

Lightbox / Modal

22.05.2016 3319


CMS has a built in lightbox feature, that means you can open images, content or videos in a modal window.

Simple use following class on your link tag.

class="lightbox"

Your link tag would look like this.

<a href="https://jakweb.ch" class="lightbox">My lightbox link</a>

Touch enabled slideshow

CMS has also a built in touch enabled slide show lightbox. You can use.

data-lightbox="c"

for a single image or.

data-lightbox="g"

for multiple images. Your complete link tag would look like this.

<a href="source_to_big_image" data-lightbox="g"><img src="source_to_small_image" alt="small image"></a>