blueimp gallery默认情况下设置指示器

pew*_*ers 6 javascript jquery blueimp

我使用blueimp gallery http://blueimp.github.io/Gallery/作为一个lightbox在我的网站.是否有一种简单的方法可以保持indicator默认状态?现在,在灯箱中打开图库后,您需要单击图像才能显示navigation buttonsindicator options.

com*_*lex 23

blueimp-gallery-controls类添加到库容器:

<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>
Run Code Online (Sandbox Code Playgroud)


Car*_*est 2

编辑 blueimp-gallery.css。将要显示的元素设置为 display:block 而不是 display:none。