Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30521

    anton.proskurin
    Participant

    Hello.
    I have problem with TosRus lightbox (only with it, another lightboxes works ok):
    when there are 2 (or more) galleries with 2 (or more) images, then clicking to link of gallery opens lightbox twice. And user must close lightbox twice too.
    For example:

    
    <a href="/wp-content/uploads/2016/08/pic1.jpg" data-rel="lightbox-gallery-1">Link gallery</a>
    <a href="/wp-content/uploads/2016/08/pic2.jpg" data-rel="lightbox-gallery-1"></a>
    <a href="/wp-content/uploads/2016/08/pic3.jpg" data-rel="lightbox-gallery-2">Link gallery 2</a>
    

    in this case click to “Link gallery” open lightbox twice.
    But click to “Link gallery 2” works ok, it opens single lightbox.

    #30894

    anton.proskurin
    Participant

    I tested it in clear WP (4.9.9, php 7.2). And this problem repeated in case:

    
    <a href="/pic1.jpg" data-rel="lightbox-gallery-1">Link gallery</a>
    <a href="/pic3.jpg" data-rel="lightbox-gallery-2">Link gallery 2</a>
    <a href="/pic2.jpg" data-rel="lightbox-gallery-1"></a>
    

    – second link of gallery-1 goes after main link of gallery-2. In this case lightbox opened twice.

    Please, help me.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.