if(0<=i && i<=9){
oLi[i].style.top='0px';
oLi[i].style.left=10+(i%10)*110+'px';
}
if(10<=i && i<=19){
oLi[i].style.top='100px';
oLi[i].style.left=10+(i%10)*110+'px';
}
if(20<=i && i<=29){
oLi[i].style.top='200px';
oLi[i].style.left=10+(i%10)*110+'px';
}
if(30<=i && i<=39){
oLi[i].style.top='300px';
oLi[i].style.left=10+(i%10)*110+'px';
}
if(40<=i && i<=49){
oLi[i].style.top='400px';
oLi[i].style.left=10+(i%10)*110+'px';
}
for(var j=0;j<10;j++){
if((j*10+0)<=i && i<=(j*10+9)){
oLi[i].style.top=j*110+50+'px';
oLi[i].style.left=10+(i%10)*110+'px';
}
}
above is my track!!!wow, I get the point of programming, from easy to difficult,form clear to confusion,step by step, you can do it.escapeically, you can keep trying.