I've created a site that, when the homepage index.html
loads, it shows an opening animation. Not something spectacular, but repeated seeing of it could become very annoying.
Currently, whenever an user opens index.html
he/she sees the animation. That includes typing the URL, navigating from Google or from any internal page.
Is there a way to set so that when a user navigates to the URL manually (or via Google, etc.) the animation (div X) is shown, but when the user navigates from /contact back to /home (index.html) the animation is NOT shown?
This would greatly reduce over and over seeing the animation and improve the experience.
I don't mind if the animation is shown again when the user refreshes the browser. The user should see the animation again everytime he opens a new session; thus after he closed and reopens the website. It should only apply to the current session.