UNKNOWN '************************************** ' Name: While the page is loading, a PLE ' ASE WAIT message ' Description:Add those lines at the beg ' inning of your page if there is a lot of ' pictures aso. While loading, a message will appear and will be hidden when the page will be fully loaded. Enjoy it ... And if u like it .... rate it .... Let's go to www.editeurjavascript.com to find a lot of javascript programs as this one. ' By: PIAZZA Stephane ' ' ' Inputs:None ' ' Returns:None ' 'Assumes:None ' 'Side Effects:None 'This code is copyrighted and has limite ' d warranties. 'Please see http://www.Planet-Source-Cod ' e.com/xq/ASP/txtCodeId.6333/lngWId.4/qx/ ' vb/scripts/ShowCode.htm 'for details. '************************************** <body onload="cacheOff()"> <!-- BEGINNING OF THE SCRIPT --> <style type="text/css"> <!-- #cache { position:absolute; left=10; top:10px; z-index:10; visibility:hidden; } --> </style> <!-- Lines above are creating a layer which show a message displaying the 'PLEASE WAIT ... ' message --> <script language="JavaScript"> ver = navigator.appVersion.substring(0,1) if (ver >= 4) { document.write('<DIV ID="cache"><TABLE WIDTH=400 BGCOLOR=#000000 BORDER=0 CELLPADDING=2 CELLSPACING=0><TR><TD ALIGN=center VALIGN=middle><TABLE WIDTH=100% BGCOLOR=#FFFFFF BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD ALIGN=center VALIGN=middle><FONT FACE="Arial, Verdana" SIZE=4><B><BR>PLEASE WAIT ... <BR><BR></B></FONT></TD> </TR></TABLE></TD> </TR></TABLE></DIV>'); var navi = (navigator.appName == "Netscape" && parseInt(navigator.appVersion) >= 4); var HIDDEN = (navi) ? 'hide' : 'hidden'; var VISIBLE = (navi) ? 'show' : 'visible'; var cache = (navi) ? document.cache : document.all.cache.style; largeur = screen.width; cache.left = Math.round(100); cache.visibility = VISIBLE; } function cacheOff() { if (ver >= 4) { cache.visibility = HIDDEN; } } </script> <!-- When the page will be fully loaded, the message will be hidden -->