<script type="text/javascript">
function timeout(width){
document.getElementById('div').style.width=width+'%'; //这句 width+%是什么意思
width+=0.5;
if(width<100){
setTimeout('timeout('+width+')',10);
}
}
</script>
<BODY>
<div style="height:30px;background: yellow;" id="div">
</div>
</BODY>
MasqueZe
相关分类