Jump to content

Maximus

Member
  • Posts

    4
  • Joined

  • Last visited

Maximus's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Hi all, does anyone know how to make the variant button (size etc) change when clicked on a product page? Otherwise it is unclear if the selection has been made..... Thanks!
  2. Site URL: https://www.chaletvanblanc.com Hi all, HELP I had a working countdown timer on my site using the following code, and when I connected my domain (bought through square space) and upgraded my plan, the code stopped working... <center><h2 id="timer"></h2></center><script>var countDownDate = new Date("Nov 1, 2022 00:00:00").getTime();var x = setInterval(function() {var now = new Date().getTime();var distance = countDownDate - now;var days = Math.floor(distance / (1000 * 60 * 60 * 24));var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));var seconds = Math.floor((distance % (1000 * 60)) / 1000);document.getElementById("timer").innerHTML = days + "d " + hours + "h "+ minutes + "m " + seconds + "s ";if (distance < 0) {clearInterval(x);document.getElementById("timer").innerHTML = "and we're off!";} }, 1000); </script> Any ideas? Thanks in advance... Maximus
×
×
  • 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.