I'm making Loading screen , It works well until page's height is more than 100% ,
Css
.Loading {
position: absolute;
left: 0;
top:0;
background-color: #141414;
width: 100%;
height: 100%;
z-index: 1;
}
How to detect the actual height of all screen? or what is the best way to make loading screen?
Jquery //If required
$(document).ready(function(){
RemoveLoader();
});
function RemoveLoader(){
$(".Loading").animate({opacity:"0"},"slow",function(){
$(".Loading").remove();
});
}