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
  • Views 554
  • 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 me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥.
Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. 
Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional.

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.