0
Guys, I’m having a little problem here and I’ve tried to solve it in a lot of ways but nothing... I am trying to make a PRELOADER that will appear before loading the page the problem is that even after the page is loaded it still does not disappear.. I have the following code
HTML:
<div id="preloader"></div>
CSS:
#preloader{
position: fixed;
left: 0;
top: 0;
z-index: 999;
width: 100%;
height: 100%;
background: $white url("../img/loading.gif") no-repeat center center;
background-size: 80px;
}
jQuery:
$(window).load(function() {
$("#preloader").delay(500).fadeOut("slow").remove();
});
try just
$('#preloader').fadeOut("slow");
– RFL
I’ve tried in a long time...
– wDrik