I've been trying to run 2 and more modal lightboxes on one page. I duplicated the first modal and changed the image links and the modal to myModal2 and also changing the slides to mySlides2. I also duplicated the script and changed the open and close to myModal2 and the get element to mySlides2. Unfortunately the thumbnails from both galleries default to the second modal. I tried many different combinations even adding mSlides2 and openModal2 to the css but nothing is working. This the link.
I did a search here but other similar topics have different code
Any suggestions would really be appreciated.