out of memory. Hvorfor?
hvorfor kommer der fejl ved følgende (den siger out of memory):<SCRIPT LANGUAGE="JavaScript">
interval = 9;
col= new Array();
col[0] = '#111111';
col[1] = '#222222';
col[2] = '#444444';
col[3] = '#666666';
col[4] = '#888888';
col[5] = '#999999';
col[6] = '#aaaaaa';
col[7] = '#cccccc';
col[8] = '#dddddd';
col[9] = '#eeeeee';
i=0;
function start(){
if(i==interval){
window.clearTimeout(john);
i++;
}
else{
document.getElementById('cc').style.backgroundColor=col[i];
document.getElementById('cc').style.visibility='visible';
john = setTimeout(start(),1000);
i++;
}
}
</SCRIPT>
mvh. AdfliCto
