Help with correct selector or option
-
Hello and great job.
I use in my js file
var lightbox = new SimpleLightbox('.node--type-story .node-inner a', { /* options */ alertError: false, captionsData: 'alt', fileExt: 'png|jpg|jpeg|gif', animationSpeed: 50, showCounter: 'true' });
this works fine for
<p>etc etc. <a href="/sites/default/files/media-insert/2020-Volkswagen-Touareg-luxury-suv-a03.jpg?itok=6_iukdCh"><img alt="Volkswagen Touareg" class="image-large photoswipe img-responsive" height="480" src="/sites/default/files/styles/large/public/media-insert/2020-Volkswagen-Touareg-luxury-suv-a03.jpg?itok=6_iukdCh" width="720"></a> . etc</p>
but I don’t want it for
<p>etc etc. <a href="https://www.spare-wheel.com/suv-cars/new-touareg-v8-tdi-most-powerful-volkswagen-market">Volkswagen Touareg luxury SUV</a> . etc</p>
Any ideas?
See link for behaviour.
Thank you very much.The page I need help with: [log in to see the link]
- The topic ‘Help with correct selector or option’ is closed to new replies.