-
- <div id="Load" style="position:absolute"><br></div>
- <script type="text/javascript" langage="JavaScript">
- ///// Option /////
- MaxImgLoad=3; //Nombre d Image
- Time=2000 // en MiliSecondes
- Taille=120 // en Pixel
- Color="#006699" // couleur de la barre
- /// Fin Option ///
- ImgLoad=-1;
- function Chargement(){
- ImgLoad++;
- Pourcentage=Math.round((100/MaxImgLoad)*ImgLoad);
- PourcentageBarre=Math.round((Taille/100)*Pourcentage);
-
- document.all.Load.innerHTML="<table border=1 style='border-style:none;width:"+Taille+"'><tr><td><center><font size=2>Chargement : <font size=4>"+Pourcentage+"%</font></center><div style='background-color:"+Color+";width:"+PourcentageBarre+"px'</div></td></tr></table>";
- if(Pourcentage>=100){
- setTimeout('document.all.Load.innerHTML=""',Time)
- }
- }
-
- Chargement()
- </script>
-
- <body>
- <img src="Img1" onLoad="Chargement()">
- <img src="Img2" onLoad="Chargement()">
- <img src="Img3" onLoad="Chargement()">
<div id="Load" style="position:absolute"><br></div>
<script type="text/javascript" langage="JavaScript">
///// Option /////
MaxImgLoad=3; //Nombre d Image
Time=2000 // en MiliSecondes
Taille=120 // en Pixel
Color="#006699" // couleur de la barre
/// Fin Option ///
ImgLoad=-1;
function Chargement(){
ImgLoad++;
Pourcentage=Math.round((100/MaxImgLoad)*ImgLoad);
PourcentageBarre=Math.round((Taille/100)*Pourcentage);
document.all.Load.innerHTML="<table border=1 style='border-style:none;width:"+Taille+"'><tr><td><center><font size=2>Chargement : <font size=4>"+Pourcentage+"%</font></center><div style='background-color:"+Color+";width:"+PourcentageBarre+"px'</div></td></tr></table>";
if(Pourcentage>=100){
setTimeout('document.all.Load.innerHTML=""',Time)
}
}
Chargement()
</script>
<body>
<img src="Img1" onLoad="Chargement()">
<img src="Img2" onLoad="Chargement()">
<img src="Img3" onLoad="Chargement()">