I have a simple animation based on jQuery fadeIn and fadeOut – it just shows some elements and hides others sequentially when a visitor loads main page of the site. So, I use this animation only on one page. I only want this to be shown one time per session so that when user clicks “Home”, this wouldn’t show up any more, just skipped. How can I implement this?
Share
you can implement it with a cookie.
check if the user has the cookie, if(yes) then don’t run the animation, else, do show.