Jump to content

Code won't appear unless website is refreshed

Recommended Posts

3 hours ago, Tressa said:

Site URL: https://www.villadelmarstthomas.com/book

I'm trying to add HTML Code from a secondary site to add booking availability to my STR site. The code will embed, but won't show on the website or mobile unless the page loads twice...so the user has to refresh the page on the website to get the booking site to load. Help? 

passcode for website is Villa

You may want to turn off ajax

Ajax loading – Squarespace Help

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

I'm thinking the curse of Ajax Loading strikes again! Try turning off Ajax Loading as bangank36 suggests to see if the problem goes away.

Please note that turning off Ajax Loading will effect the performance of your site. Ajax Loading is designed to increase the loading speed of your site after it first loads.

You have to decide whether the custom code you are trying to use is worth turning off Ajax Loading.

paul2009 has a great article on the ins and outs of Ajax Loading. Please see Why does Squarespace code only work on refresh?

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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