Closed r-interactive closed 1 year ago
Duplicate: https://github.com/biati-digital/glightbox/issues/436
@r-interactive If you create a discussion someone may be able to explain in more detail what is wrong. This is not an issue with Glightbox.
@gingerchew - alright! thanks!
Hello,
I have a list
inside the popup box, and I have some custom js code added. I am using the inline element (text content inside the popup box). The code will loop through all the list items and add the classname 'active' to one of the item every 4 seconds. The first item has the 'active' classname, after 4 seconds, the classname gets removed from the first one, and the 'active' classname gets added to the 2nd list item, etc...
The code below is not working when the list is inside the popup box. However, the code is working if the list is outside the popup box. Why isn't my jquery code isn't working when I target the content inside the popup box?
The HTML list inside the popup:
my jquery code: