I'm getting my head around JS/Jquery slowly and I need help/guidance on how to detect when a "specific" image is "visible", so I can then remove a class on a different element. Simple I'm sure...just trying to understand the logic.
JS..
$('.my-big-hero').find('my-image-here.jpg:visible').removeClass('class-i-want-removed');
This is probably a simple (and wrong way) to display this, but it was to give you an idea of what I'm trying to achieve. I've tried various ways to write this and not winning.
Appreciate any help you can give....thank you in advanced.