I've implemented a Splash Screen in JQuery on my WordPress Site on Document ready.
setTimeout(function() {
$("#site-overlay").fadeOut();
}, 3000);
Ok, the Overlay fades out after 3 seconds. But if I click on a menu button, the whole page reloads and the function settimeout
repeats because its on the document ready.
How can I set this only for one time per Domain without using complicated code?