Display a page after all applets are loadedTag(s): Javascript interaction


Place your page completely in a DIV tag.

Initially the visible attribute is false. When the page is completely loaded, the DIV visibility attribute is set to true.

<HTML>
<HEAD>
<SCRIPT>
function doIt() {
  if (document.all)
    mypage.style.visibility="visible"
  else
    document.mypage.visibility="visible" 
  }

</SCRIPT></HEAD>
<BODY onLoad="doIt();">
<DIV name=mypage style="visibility:hidden" >
...
</DIV>
</BODY>
</HTML>

blog comments powered by Disqus