The page appears when all the images are loaded, it works in all browsers, but safari does not turn the body visible:
<script language="javascript">
<!--
function preload() {
imgs = document.images;
preloadedimg = true;
for (var i = 0, total = imgs.length; i < total; i ++)
preloadedimg = (preloadedimg && imgs[i].complete);
if (preloadedimg) {document.body.style.visibility = "visible";}
else setTimeout("precargar()", 100);
}
//-->
</script>
<body onload="preload()" style="visibility:hidden;">
</body>
The problem can be in:
Document.body.style? Safari does it refer otherwise to body?
Thank you for attending my problem.