Thanks,
It took so long for a moderator to approve my post that I figured out a way that it works.
I don't know if this is messy code, so let me know if it could be cleaned up.
$(function(){
$('#splash').hide();
$('#splash').fadeIn(2000)
});
$(function(){
setTimeout(function() {
$("#splash").fadeOut(2000, function() {
$("#copy").show();
});
}, 3000);
});
- <body>
<div id="splash"></div>
<div id="container">
<div id="copy">This is bodycopy</div>
</div>
</body>
DEMO I like this solution because it it just shows the page after the splash screen instead of redirecting it to /home.html or something along those lines.
But let me know if I could tighty up the Java a bit, I'm new to Java and still learning.