Jump to content

Custom Javascript working in preview but not after launch

Recommended Posts

Site URL: https://www.rgsproductsinc.com/system?type=clvw

I can't find anything online that describes this behavior. (Test URL included for your amusement.)

This page is supposed to load in header text, a descriptive paragraph, a drawing, and a slideshow based on the value passed to the page in the URL. This all runs off JavaScript embedded in the same custom code block as the HTML/CSS. The HTML/CSS is working; the JavaScript only works when I'm logged in and previewing the page. We've tried multiple browsers and I've tried injecting it into the page header, but nothing changes.  (Edit: the "Request a Quote" button is also supposed to launch an email with data on the system chosen; it's not doing anything outside the preview window.)

Is this a SquareSpace thing or something else? We're using DNS redirect from the old site host to point to this one; would that cause this?

Link to comment
  • Replies 1
  • Views 414
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • 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.