Real'sHowTo AddThis Feed Button
Custom Search

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


If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2013
[ home ]