hey there i have the following code that sets and scales the background image in the body tag...
html,body {
margin:0;
padding:0;
height:100%;
background-image:url(some image);
background-size:100% 100%;
-webkit-background-size:100% 100%; /* Safari */
-khtml-background-size:100% 100%; /* Konqueror */
-moz-background-size:100% 100%; /* Firefox */
background-repeat:no-repeat;
background-attachment:fixed;
overflow:hidden;
}
what i want to do is display an alert when the image in the body finishes loading or maybe when the whole page finishes loading.. however, i've found this fiddle and this stackoverflow question on the net but it doesn't seen to fit my situation. thanks.