I have created a animation for my header that is executed on load. I am looking for a way to make this animation conditional, so that it is only executed on the first page of the website that is visited. At the moment it is displayed each time that the user loads a different page of the website and to my taste that is a bit much
I have thought about creating a different header for the home page, the only one to have the animation, but then the animation will not appear when a user enters the website via a different page. Also this would show the animation again when the user navigates back to the home page. So if possible, I would like to make the animation conditional, depending on whether it is the first page viewed within the website.
I would love to hear if any of you have some suggestions of how to accomplish this. I have briefly been in touch with the Webflow support, who suggested putting custom code in the header and checking out this forum for a way to do that. I have looked around, but haven't found what I am looking for. Neither am I an expert in coding, hence I hope to find some useful suggestions this way.