Jump to content

Using Mind Body Online schedule widget code to embed a timetable doesn't load first time around

Recommended Posts

My timetable doesn't load first time around (only once the page is refreshed). Any ideas why this might happen?
I used embedded code from the Mind Body Online Widget to pull the live timetable through on the website. When you go to the timetable page nothing loads until the page is refreshed. Only then can you see the timetable loading.

Anyone know why this would happen?

Thanks!

Link to comment
  • Replies 2
  • Created
  • Last Reply

It is because of Ajax. I can't be more specific without access to the site but you'll find a guide I wrote on my company's website. You'll find it here:

https://sf.digital/squarespace-solutions/why-doesnt-my-code-work-until-i-refresh-the-page

I hope this helps.

-Paul

Squarespace Expert & Professional Developer

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

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.