Jump to content

Script disabled when adding code.

Recommended Posts

Hi friends, I'm trying to add a piece of code to my website- its an integration for a yoga schedule. When I enter the guided code, it comes out with 'script disabled' and publishes a blank page. PLEASE HELP!

I'm using SS7.1 and there is no feature to disable ajex as guided. 

Here is the code i'm trying to use:

<style><div class="momoyoga-schedule" data-momo-schedule="https://www.momoyoga.com/thedurhamyogastudio/"></div>

<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://www.momoyoga.com/schedule-plugin/v2/js/schedule.js" crossorigin="anonymous"></script></style>

Link to comment
  • Replies 1
  • Views 504
  • Created
  • Last Reply
On 4/16/2021 at 12:26 AM, EmilyOsb said:

Hi friends, I'm trying to add a piece of code to my website- its an integration for a yoga schedule. When I enter the guided code, it comes out with 'script disabled' and publishes a blank page. PLEASE HELP!

I'm using SS7.1 and there is no feature to disable ajex as guided. 

Here is the code i'm trying to use:

<style><div class="momoyoga-schedule" data-momo-schedule="https://www.momoyoga.com/thedurhamyogastudio/"></div>

<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://www.momoyoga.com/schedule-plugin/v2/js/schedule.js" crossorigin="anonymous"></script></style>

Hi. Remove style tag. The new code should be.

<div class="momoyoga-schedule" data-momo-schedule="https://www.momoyoga.com/thedurhamyogastudio/"></div>

<script src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://www.momoyoga.com/schedule-plugin/v2/js/schedule.js" crossorigin="anonymous"></script>

Add to Code Block >> Then open incognito windows & check it!

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

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.