Jump to content

CHSB

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by CHSB

  1. When I try this and replace the (your javascript to be triggered goes here), the button looks great. Upon testing, it does nothing. Below is the code I used...what am I missing? <div class="sqs-block button-block sqs-block-button"> <div align="center"> <a onclick="myFunction()" class="sqs-block-button-element--large sqs-block-button-element" target="_blank">I'm ready to watch the class</a> </div> </div> <script> function myFunction () { <a href="javascript:;" onclick="ml_webform_3970552('show')"> } </script>
  2. Site URL: https://www.lisajonutrition.com/classes I created a custom button on the page above using the below code. The idea is that my mailerlite form shows when the button is clicked. On the back end, this works fine. But when I pull up the website on any other computer or device, the button doesn't work. What am I missing from the code? <div class="sqs-block button-block sqs-block-button"> <div align="center"> <a onclick="ml_webform_3970552('show')" class="sqs-block-button-element--large sqs-block-button-element" target="_blank">I'm ready to watch the class!</a> </div> </div>
×
×
  • 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.