Tema: Progress Bar
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 16/03/2007, 14:10
Avatar de nicolaspar
nicolaspar
 
Fecha de Ingreso: noviembre-2004
Ubicación: Villa Ballester Bs-As|Ar
Mensajes: 2.002
Antigüedad: 19 años, 5 meses
Puntos: 34
Re: Progress Bar

Sigue siendo no real esa clase, es igual a hace esto:
Código PHP:
<html>
<head>
<style type="text/css"><!--
.pbar { background: #EEE; border: 1px solid #CCC;  margin: 1px;  height:10px;  width: 10px;}
--></style>
</head>
<body>

<?php
if( ob_get_level() == 0ob_start();

echo 
str_pad('Cargando... ',4096) . "<br />";
for( 
$i 0$i 30$i++ ){
   echo 
'<span class="pbar">&nbsp;</span>';
   
ob_flush();
   
usleep(500000);
}
ob_end_flush();
?>
</body>
</html>
Podrías leer el peso del file a subir y simularlo un poco mas, pero no sería real a la transferencia del usuario.
__________________
Mi punto de partida es Que Bueno Lo Nuevo