Zitat:
Original geschrieben von coolbininet
Jak hörst du mich
|
Nein, erstens hat mein PC keine Sprachausgabe, zweitens sind meine Boxen gerade hin

.
Der Code hatte ein paar kleine Fehler, jetzt ist es praktisch der selbe Code wie in der Selfhtml Demo zu window.clearTimeout().
Code:
<script language="JavaScript">
<!--
var i=0;
function erhoehe(){
i=i+10;
document.getElementById("fortschritt").value=i;
window.clearTimeout(timeOut);
if(i<100){
timeOut=window.setTimeout("erhoehe()",1000);
}
}
timeOut=window.setTimeout("erhoehe()",1000);
//-->
</script>
<input type="text" id="fortschritt">
Jak
____________________________________
Join the DNRC |
Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)