複製代碼代碼如下: UBL "-/ DTD XHTML 1.0 過渡//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 無標題文件 <BR> <BR><BR>var x=400;<BR>function dianji(){<BR> document.getElementById('yincang') .style. height=x 'px';<BR> x--;<BR> var time=setTimeout('dianji()',10);<BR> if(x==200){ <BR> //document.body.bgColor='red';<br> document.getElementById('yincang').style.display='none';<br> .p. ='塊';<BR><BR> }<BR> }<BR> <BR> { display:block} fdafda