I have a working code of a lazy load java script, BUT, its not working as I wanted to.
I put it into a shadow box gallery. When the thumbnails are clicked, they trigger the blank shadow box and the lazy load loads the picture Only if the page is scrolled at least a little bit. (link below)
So the lazy load is being triggered via Scroll. I want it to trigger the load since they are requested in the viewport or whatever term is used to describe the image in the shadow box being loaded when someone clicks the thumbnail and the shadow box opens.
I know that probably it can be achieved with some few parameters changes, but since and dont know how to java coding, I'm looking for help on this one.
I'll ask you to highlight what changes were made in this very short code since I dont want malicious things on the code
The working code is attached and the test page I upoaded presenting the described issue is: [url removed, login to view]
(notice that after the thumbnail click, it only loads and show after the scroll action)
first lower price to fully solve this, wins
[REMOVED BY [url removed, login to view] ADMIN]
So I can test it