<marquee>左右回弹行为behavior="alternate"实现图片无缝滚动
跑马灯 不间断滚动(不兼容IE外浏览器)<div style="overflow:hidden;width:100%;"><marquee direction="left" width="100%" scrollamount="3" behavior="alternate"> 要跑的文字或图片列表 </marquee>
</div> DZX门户DIY,连贯跑马灯样式(兼容各浏览器):<marquee direction="left" behavior="alternate"width="100%" scrollamount="3" onmouseover="this.stop()" onmouseout="this.start()"
>
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
<td style="width: {picwidth}px;text-align:center;">
<a href="{url}"{target}><img src="{pic}" width="{picwidth}" height="{picheight}" alt="{title}" /></a>
<p><a href="{url}" title="{title}"{target}>{title}</a></p>
</td>
</tr>
</table>
</marquee>
页:
[1]