sélectionner uniquement certains fichiers ?
Bonjour,
J'ai un script qui me sélèctionne tous les fichiers d'un répertoire. Comment lui dire de me sélèctionner que certain fichiers ?
voici le source :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
<body onLoad="javascript:startIt()" bgcolor="#DDE8FF">
<div class=d1 id=d1 name=d1></div>
<div class=d2 id=d2 name=d2></div>
<div class=d3 id=d3 name=d3>
<form name="f_enota" method="post" action="">
<input type="text" name="enota" value="<?=$Title_name?>" size="30">
</form>
</div>
<div class=d4 id=d4 name=d4>
<form name="procent" method="post" action="">
<input type="text" name="perc" value="0" size="2">%
</form>
</div>
<script>
var count=0;
var MAXcount=100; // number of intervals
var width=400; // width of status bar.
function incOneIE() {
var count= parseInt(procent.perc.value);
var _i = parseInt(width / MAXcount) * (count);
document.all.d1.style.zIndex=20;
document.all.d1.style.clip="rect(0,"+_i+",20,0)";
document.all.d1.style.width=_i;
}
var doagain = null;
function stopIt() { if (doagain != null) clearInterval(doagain); }
function startIt() {
stopIt();
if (document.all)
doagain = setInterval("incOneIE()",100); // 1/10 second interval
}
</script> |