tayjsl Posted September 10 Share Posted September 10 So I have an image on my site that I want to bring up different lightboxes when you click on a certain spot in the image. I figured out how to create an image map to make these different link areas and have inserted it into my site with a code block. What I'm trying to figure out is how to use the Lightbox Anything plugin with this and have the lightboxes link to the different links within the code block. I've used the plugin before with no issue linking a button or text to a lightbox page but it seems like because I can't turn off the 'open in a new window' setting since I'm using links within a code block, it won't open the lightbox. I've tried the image map with external links and it works fine, there's obviously a breakdown between the code block and the lightbox plugin. I've tried targeting _self but that doesn't work. I can see when I hover over the section that there is a link there, it's just not actually opening the lightbox. Can this be done? Is there an alternative? Beyondspace 1 Link to comment
HoaLT Posted September 10 Share Posted September 10 8 hours ago, tayjsl said: So I have an image on my site that I want to bring up different lightboxes when you click on a certain spot in the image. I figured out how to create an image map to make these different link areas and have inserted it into my site with a code block. What I'm trying to figure out is how to use the Lightbox Anything plugin with this and have the lightboxes link to the different links within the code block. I've used the plugin before with no issue linking a button or text to a lightbox page but it seems like because I can't turn off the 'open in a new window' setting since I'm using links within a code block, it won't open the lightbox. I've tried the image map with external links and it works fine, there's obviously a breakdown between the code block and the lightbox plugin. I've tried targeting _self but that doesn't work. I can see when I hover over the section that there is a link there, it's just not actually opening the lightbox. Can this be done? Is there an alternative? Have you contacted the author of this plugin for support yet? Beyondspace 1 Press 👍 or mark my comment as solution if you find my sharing useful 🆒 Squarespace pinchzoom lightbox plugin (affiliate link) 👁🗨 360 degree photo viewer (affiliate link) Link to comment
tayjsl Posted September 11 Author Share Posted September 11 Yes, I have. Haven't heard back from them yet. Beyondspace 1 Link to comment
Beyondspace Posted September 11 Share Posted September 11 3 hours ago, tayjsl said: Yes, I have. Haven't heard back from them yet. Could you share your site URL? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment