代码如下: [removed] var time = 300; var h = 0; function addCount() { if(time>0) { time–; h = h+5; } else { return; } if(h>300) //高度 { return; } document.getElementById(“ads”).style.display = “”; document.getElementById(“ads”).style.height = h+”px”; setTimeout(“addCount()”,30); } wi