More than one per page javascript-issues
-
Hey,
thanks for this cool Plugin! I just found an javascript issue when i tried to embed more than one slider in a page.
I am using the thumbnail-slider template and don’t know if this happens with other templates too.
Anyway, i fixed it for me by editing the theme file “templates/design/Thumbnail_Slider/index.php”:
Just added the gallery-id to the jquery-selectors (starting at line 210):var galleryThumbs = new Swiper('.gallery-thumbs', {
to:var galleryThumbs = new Swiper('#<?php echo $data->gallery_id; ?> .gallery-thumbs', {
and the same for the other three selectors.
Maybe you want to add this in future versions.
All the best
Alex
- The topic ‘More than one per page javascript-issues’ is closed to new replies.