Jump to content

Intro page animation

Recommended Posts

Site URL: https://freedomofmovement.squarespace.com/

Hi hi!

I created an intro page with a gif animation and placed the code in the 'Advanced' option of my start page. It all works so far, but I would like to show the animation only when you open the page for the first time. When you come back to the home page/start page from a subpage, I don't want the animation to play again. Is this possible? Can someone help me with this?

I am very happy about your help!

Side Password: fom2022

Bildschirmfoto 2022-09-09 um 22.32.01.png

Bildschirmfoto 2022-09-09 um 22.40.40.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Hi @SimonFr, this code is simply running every time the page loads, I'm not sure if you're going to be able to add anything to it to recognize that it's played before, you would need quite a different approach probably involving cookies to track when a user had visited previously to prevent it playing every time they go to the homepage. Sorry I can't be more useful with my answer!

Please like and upvote if my comments were useful to you. Thanks!

Zygmunt Spray
Squarespace Website Designer
Contact me: https://squarefortytwo.com/ 
🔌Ghost Squarespace Plugins (Referral link)
Buy me a coffee

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.