Jump to content

LiterallyAToad

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by LiterallyAToad

  1. Hey thanks, @creedon . My website is publicly viewable at https://www.andrewhaener.com/ I just added a new image that's got this same problem happening. The images and links I was asking about initially resolved themselves after a few days for desktop access but they still don't work on mobile. I'm running this code injection which I found on a forum posting in the gallery block gear. It's worked for most of the clickthru links but not the new ones. If you could take a look at some of this stuff I'd very much appreciate it. Thanks. <script> var currentPageBaseURL=window.location.href.split("?")[0]; Y.on("domready",function(e){ Y.io(currentPageBaseURL+"?page=1&format=json-pretty", { on:{success: jsonLoaded} }); function jsonLoaded(err,data){ var jsonResponse = Y.JSON.parse(data.responseText); var items=jsonResponse.items Y.all("#thumbList .thumb, #slideshow .slide").each(function(e){ var thumbId=this.getAttribute("data-slide-id"); for(var i=0;i<items.length;i++){ if(thumbId==items[i].id && items[i].clickthroughUrl){ this.setAttribute("data-clickthrough-url",items[i].clickthroughUrl).on("click",function(e){ e.preventDefault(); e.stopPropagation(); window.location = this.getAttribute("data-clickthrough-url"); }) } } }) } }); </script>
  2. My website landing page is setup as one big image gallery with thumbnail images linking to other individual pages. It's been working fine for years but recently has stopped directing my clickthrough URL links to the other pages. Image tabs in the Gallery just go to a slideshow now, which is not what I want. I've tried re-uploading the image files and changing the URL links to the web page addresses (instead of the clickthrough > content option) but it still won't work. Old links still seem to be fine but any new image links just go to slideshow. Can anybody help me out here? I'm unable to share new work until I get this figured out. Thanks
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.