I have a background image and I want to use $(documnet).load()
to set an event that shows the page whenever the image is fully loaded. How can I do that?
My HTML code:
<html>
<script src="../js/jquery-1.10.2.js"></script>
</script>
<style>
body{
background-image: url('../images/heart-beat.png');
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
</style>
<body>
Hello World
</body>
</html>