中间停已解决。一贴即效。
还有什么要求,都列出来。<script language=javascript defer>
marqueeDiv1.childOffsetWidth=marqueeDiv1.children[0].offsetWidth;
marqueeDiv1.insertAdjacentHTML("beforeEnd",marqueeDiv1.innerHTML+marqueeDiv1.innerHTML);
var i = 0;
var j = 1;
window.setInterval(pause_it,60);
function pause_it()
{
if (i%10 == 0) { // 移动时间
if(j++ %20) return; //暂停时间
}
marqueeDiv1.scrollLeft=(marqueeDiv1.scrollLeft+marqueeDiv1.tempSpeed*1)%marqueeDiv1.childOffsetWidth;
i++;
}
</script>
<div id=marqueeDiv1 nowrap style="width:300;overflow:hidden;background-color:#cccccc;" defaultSpeed=2 tempSpeed=2 onmouseOver="this.tempSpeed=0;" onmouseOut="this.tempSpeed=this.defaultSpeed;">
<span style="width:180;">
<table border="0" cellspacing="7" cellpadding="0">
<tr>
<td width="50"><img src="img/1.jpg" width="50" height="100" alt="图片一"></td>
<td width="50"><img src="img/2.jpg" width="50" height="100" alt="图片二"></td>
<td width="50"><img src="img/3.jpg" width="50" height="100" alt="图片三"></td>
<td width="50"><img src="img/4.jpg" width="50" height="100" alt="图片四"></td>
<td width="50"><img src="img/5.jpg" width="50" height="100" alt="图片五"></td>
</tr>
</table>
</span>
</div>
还有什么要求,都列出来。<script language=javascript defer>
marqueeDiv1.childOffsetWidth=marqueeDiv1.children[0].offsetWidth;
marqueeDiv1.insertAdjacentHTML("beforeEnd",marqueeDiv1.innerHTML+marqueeDiv1.innerHTML);
var i = 0;
var j = 1;
window.setInterval(pause_it,60);
function pause_it()
{
if (i%10 == 0) { // 移动时间
if(j++ %20) return; //暂停时间
}
marqueeDiv1.scrollLeft=(marqueeDiv1.scrollLeft+marqueeDiv1.tempSpeed*1)%marqueeDiv1.childOffsetWidth;
i++;
}
</script>
<div id=marqueeDiv1 nowrap style="width:300;overflow:hidden;background-color:#cccccc;" defaultSpeed=2 tempSpeed=2 onmouseOver="this.tempSpeed=0;" onmouseOut="this.tempSpeed=this.defaultSpeed;">
<span style="width:180;">
<table border="0" cellspacing="7" cellpadding="0">
<tr>
<td width="50"><img src="img/1.jpg" width="50" height="100" alt="图片一"></td>
<td width="50"><img src="img/2.jpg" width="50" height="100" alt="图片二"></td>
<td width="50"><img src="img/3.jpg" width="50" height="100" alt="图片三"></td>
<td width="50"><img src="img/4.jpg" width="50" height="100" alt="图片四"></td>
<td width="50"><img src="img/5.jpg" width="50" height="100" alt="图片五"></td>
</tr>
</table>
</span>
</div>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货