Mega Code Archive

 
Categories / JavaScript DHTML / HTML
 

Does image download completely

<html> <body> <img id="myImage"       src="http://www.rntsoft.com/style/logo.png"       alt="http://www.rntsoft.com"> <script language="JavaScript">     var m = document.getElementById("myImage").complete;     if (m == true) {         alert("The image is fully loaded");     } else {         alert("The image is not completely loaded")     } </script> </body> </html>