Hey there! I have a cool fade out effect on a website I'm working on. When you go to the site, a div containing the title of the site appears and then fades away after a while. It's pretty simple yet effective.
<div class="loader"><h1><?php bloginfo('name'); ?> <?php wp_title(); ?></h1></div>
$(window).load(function() {
$('.loader').delay(2000).fadeOut();
});
I'm trying to figure out how to make sure this div and jQuery only show or run if the user is visiting the site for the first time or has cleared their cache/cookies. Any suggestions? I was thinking about using cookies.js but it seems to be still in development.
Cheers, R