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

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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.