Jump to content

Arthur2465

Member
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Arthur2465

  1. Hi, In the new ORDER STATUS PAGE, there seem to be no site header, no logo. Is there a way to insert the site header and logo above the order status and information, through code injection? Thanks
  2. Thanks Ziggy! How would the SQSPTHEMES plugin differ from using https://github.com/noelboss/featherlight/? Are they similar solutions?
  3. Hi, Is there a code to show a simple Lightbox popup that would look like the Squarespace form? I would like to include a piece of html code in this Lightbox, showing some text and a form field without any submit button. I find expansive plugins doing stuff I don't need or the jQuery Lightbox plugin. But is it possible to replicate the Form Lightbox with a simple code and without calling JS from other sources? Many thanks
  4. Thanks @Wolfsilon! Is there a code to show a simple Lightbox popup that would look like the Squarespace form? As such I could do my own form and run the calculation above. I find expansive plugins doing stuff I don't need or the jQuery lightbox plugin. But is it possible to replicate the Form lightbox with a simple code? Many thanks
  5. Hi! I have a function in my footer, which looks like that: <script> function rolls() { var totalrolls = Math.ceil(((document.input.input2.value -0) + 53) * (document.input.input1.value -0) / 50000) ; document.getElementById('txtrolls').innerText=totalrolls; } </script> Then I want to set up a form using Squarespace form block (in lightbox mode) to collect "input1" and "input2" as input fields, and upon submission of the form, call the function "rolls()" and show the value "totalrolls" in the post submit message. I name the Form Fields "input 1" and "input 2", but how to call "rolls()" upon submission? Or should I call the function in the Post-Submit HTML and show the value there as well? I don't have it on my website yet (so no link to show) as I am not sure if this is feasible and how.. Thanks for your help!
  6. Hi everyone, Is it possible to insert a small script and a form field inside an accordion which will be located in the product additional information? This is the code I'd like to insert in one of the item of the accordion: <script> function rolls() { var totalrolls = Math.ceil(((document.input.input2.value -0) + 53) * (document.input.input1.value -0) / 50000) ; document.getElementById('txtrolls').innerText=totalrolls; } </script> <form name="input"> <p> Height from floor to ceiling (cm): <input type="text" name="input1" value="" onkeyup="rolls()"><br></p> <p> Total width of all the walls (cm): <input type="text" name="input2" value="" onkeyup="rolls()"><br></p> <h4> Number of rolls needed: <span id="txtrolls" style="font-size:150%”> </span> </h4> </form>
×
×
  • 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.