Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

blueimp gallery set indicator on by default

I am using blueimp gallery http://blueimp.github.io/Gallery/ as a lightbox in my website. Is there an easy way to keep the indicator on by default? Right now, after you open a gallery in a lightbox you need to click on an image for it to show navigation buttons and indicator options.

like image 287
pewpewlasers Avatar asked Jan 13 '14 06:01

pewpewlasers


2 Answers

Add blueimp-gallery-controls class to gallery container:

<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
    <div class="slides"></div>
    <h3 class="title"></h3>
    <a class="prev">‹</a>
    <a class="next">›</a>
    <a class="close">×</a>
    <a class="play-pause"></a>
    <ol class="indicator"></ol>
</div>
like image 134
complex Avatar answered Sep 26 '22 08:09

complex


Edit the blueimp-gallery.css. Set the elements you want shown to display:block instead of display:none.

like image 33
Carey Best Avatar answered Sep 26 '22 08:09

Carey Best