如何在 LC Lightbox jquery 中放置两个图库

我正在做我的画廊,当我在做第二个画廊时,当我点击一个图像时,它们会聚集在一起,它向我显示了画廊 1 的图像,我该如何解决?

<div id="lcl_elems_wrapper" style="position:absolute; left: 400px; top:460px; width:400px; z-index:6;">
    <a href="https://i.ibb.co/Cmhc8wN/PREMADE-PREVIEW-1.png" title="PREVIEW 1" data-lcl-txt="image 1 description" data-lcl-author="Beners">
        <img src="https://i.ibb.co/Cmhc8wN/PREMADE-PREVIEW-1.png">
    </a>
    <a href="https://i.ibb.co/Cmhc8wN/PREMADE-PREVIEW-1.png" title="PREVIEW 2" data-lcl-txt="image 2 description" data-lcl-author="Beners">
        <img src="https://i.ibb.co/Cmhc8wN/PREMADE-PREVIEW-1.png">
    </a>
</div>

<div id="lcl_elems_wrapper" style="position:absolute; left: 400px; top:1460px; width:400px; z-index:6;">
    <a href="https://i.ibb.co/txR1yvG/aaa.png" title="PREVIEW 1" data-lcl-txt="image 1 description" data-lcl-author="Beners">
        <img src="https://i.ibb.co/txR1yvG/aaa.png">
    </a>
    <a href="https://i.ibb.co/txR1yvG/aaa.png" title="PREVIEW 2" data-lcl-txt="image 2 description" data-lcl-author="Beners">
        <img src="https://i.ibb.co/txR1yvG/aaa.png">
    </a>
</div>    
    
<script type='text/javascript'>
$(document).ready(function() {
    var $obj = lc_lightbox('#lcl_elems_wrapper a');
});
</script>
w513166440 回答:如何在 LC Lightbox jquery 中放置两个图库

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/1177450.html

大家都在问