I am using Lightbox fslightbox https://github.com/banthagroup/fslightbox And I have a problem with the background. I am trying set up a white background color but in some computer it shows white and other transparent. Can you help me to check with place of the code I need modificative? I leave you the css (it is coming ..
I’m building a portfolio site for a friend which displays paintings. All paitings are displayed on the index page, and I’ve created a for loop so that click on each painting opens up modal displaying that painting: // create references to the modal… const modal = document.getElementById(‘myModal’); // to all images — note I’m using ..
This will be a long question, sorry about that but im new to hmtl/css/js and still trying to learn, im trying to implement lightbox for my photos that i am fetching from pexels with an API, I wanna implement lightbox so when i click the pictures it shows bigger etc, I would really appreciate the ..
The lightbox actually works only after I’ve made changes to my html, but not after I refresh the page. It literally works just the first time after the index.html is save. I included jQuery before the closing tag and the lightbox.js after it, as suggested in the docs. <div class="gallery"> <a href="/pics/1.jpg" data-lightbox="gallery"><img src="/pics/1.jpg" alt=""></a> ..
I’m using Glightbox to create gallery with images description. I would like to update text of button on click. When button is clicked and lightbox is reopened text on button is changed. How to change text on button without reopening a lightbox? Glightbox documentation can be found here <!DOCTYPE html> <head> <link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" /> ..
I’m using viewerjs as lightbox for images. I was wondering, if there is an option, to add, or move the navigation (right & left) buttons to the side like photoswipe has (https://photoswipe.com) By default the navigation buttons are at the button, at Toolbar. (https://fengyuanchen.github.io/viewerjs/) Or should I just override the "toolbar" CSS and move the ..
I played around with the original W3 schools modal/lightbox and I now have 8 modals on one page and each displays a mixture of video and images. They all work fine and open and close and display the right content, but I can’t get titles to show underneath the videos. On the second modal one ..
I’m trying to implement a Lightbox gallery where clicking an image link launches a slideshow of images that are loaded from an array, not from inline content on the page. All the examples I can find use a group of inline images. I am using a framework called UIkit (https://https://getuikit.com/docs/introduction) which has a "lightbox" class. ..
So for a website I have a feature where If you click an image it shows it in a lightbox then on the second click it tracks the mouse movement to move the image. That works fine the problem is on the third click I want to toggle the mouse tracking on and off. I’ve ..