一个跑马灯循环滚动
<div class="exibhitStyle" style="float: left;" >
<%if(proall != null && proall.length!=0){%>
<marquee style="margin:-15px 5 0 15px" onmouseout="this.start();" onmouseover="this.stop();" scrollamount="10">
<div style="width:5200px;font-size:11px;color:#999;">
<%for(int i=0; i<proall.length; i++) {%>
<div style="width:120px;float:left;text-align:center">
<a href="?d=product&p=productlist&par=series=<% =proall[i].getLabelId()%>" class="gray2"><img onload="DrawImage(this,101,113)" src="<%="data/uploads/product/"+proall[i].getImagpath()%>">
<br>
<%=proall[i].getName()%>
</a>
</div>
<%}%>
</div>
</marquee>
<%} else {%>
<span style="margin-left: 20px;">对不起,目前还没有产品!</span>
<%}%>
</div>
主要在marquee 里面。 因为marquee 第一循环 最后一个 于第二次循环 首尾 有一段空白 应该怎么消除这块空白 找了的段JS 能独立运行。 穿插进去就是不行。 大家帮点忙~~感谢~