How to triggering popup galery with button (within same post with gallery)..?
-
Try to this work but nothing
lightGallery(document.getElementById('photonic-wp-stream-1-container')); $("#button_start").on("click", () => { $("#photonic-wp-stream-1-container > li:first-child > a > img").trigger("click"); });
and the button within same post
<a id="button_start" href="#">click here</a>
im using image from wordpress media. anyone have solutions for this?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to triggering popup galery with button (within same post with gallery)..?’ is closed to new replies.