Originariamente inviato da cavicchiandrea
setTimeout('hideProgress()', 2000);
setTimeout(function(){hideProgress()}, 2000);
Grazie per la risposta ma non cambia nulla...
codice:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Form loading</title>
<script type="text/javascript">
setTimeout('hideProgress()', 5000);
setTimeout(function(){hideProgress()}, 5000);
function hideProgress(){
document.getElementById('loader').style.display = 'none';
}
</script>
</head>
<body>
<div align="center">
<h1 id="loader" style="position: absolute;top: 100px">
[img]/images/please-wait.gif[/img]</h1>
<iframe height="826" onload="hideProgress()" scrolling="no"
style="width:100%;border:none"
src="WeddingInvitation.asp"
title="WeddingInvitation.asp">
Wedding Invitation
</iframe>
</div>
</body>
</html>