ciao a tutti.
Navigando ho trovato questo fantastico script che disegna una barra di caricamento con la relativa percentuale.

Codice PHP:
<html>
 <
head>
  <
title>Simulazione dell'effetto Loading di Flash col Dhtml</title>
  <style type="text/css">
   td.loading { text-align: Center; color: #778899; font: Bold 11px Verdana; }
   td.barra { background-color: #F9F9F9; border: Solid 1px #CCCCCC; }
   #barra { background-color: #F8935F; }
   #percentuale { text-align: Center; color: #778899; font: Bold 10px Verdana; }
  </style>
  <script language="javascript" type="text/javascript">
   <!--
    var espandi = 0;
        function Loading() {
           barra.style.width = espandi;
           espandi++;
           percentuale.innerHTML = Math.round(espandi / 2) + "%";
              if (espandi != 200) {
                  window.setTimeout("Loading(), 10");
              }
        }
        function Go() {
           location.href = "homepage.html";
        }
        window.setTimeout("Go()", 12000);
   //-->
  </script>
 </head>
<body topmargin="150" onLoad="Loading()" scroll="No">

<table width="222" align="center" cellpadding="1" cellspacing="10">
 <tr>
   <td class="loading">...Loading</td>
 </tr>
 <tr>
   <td class="barra"><div id="barra"></div></td>
 </tr>
 <tr>
   <td><div id="percentuale"></div></td>
 </tr>
</table>

</body>
</html> 

A questo punto dovrei abbinare questa barra a una reale pagina che si sta aprendo, che pero' essendo piena di iframe, immagini e quant'altro...ci mette un po. Come posso abbinare le due cose???