SimonFr Posted September 15, 2022 Share Posted September 15, 2022 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 Link to comment
Ziggy Posted September 15, 2022 Share Posted September 15, 2022 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 helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment