日期:2014-05-17  浏览次数:20585 次

请教:如何滚动字?例如:典型客户栏,下面的客户名称滚动
上下滚动,最好在一个table里。web服务器不支持asp等,是静态的。

------解决方案--------------------
marquee标签,可以把表格放在里面,就可以滚动了
------解决方案--------------------
marquee

direction= "up "
------解决方案--------------------
marquee,这种移动不仅仅局限于文字,也可以应用于图片,表格等等
几个例子:

<marquee direction=left> 从右向左移 </marquee>
<marquee behavior=scroll> 一圈一圈绕着走 </marquee>
<marquee behavior=slide> 只走一次就歇了 </marquee>
<marquee behavior=alternate> 来回走 </marquee>
<marquee loop=3 width=50% behavior=scroll> 只走 3 趟 </marquee>
<marquee loop=3 width=50% behavior=slide> 只走 3 趟 </marquee>
<marquee loop=3 width=50% behavior=alternate> 只走 3 趟 </marquee>
<marquee scrollamount=20> 快走 </marquee>
<marquee scrolldelay=500 scrollamount=100> 走一步,停一停 </marquee>


更多的效果看 http://blog.csdn.net/xxllg/archive/2005/04/24/361107.aspx 讲得很详细
------解决方案--------------------
还可以看:http://blog.csdn.net/liuguoqiang/archive/2006/01/08/573624.aspx,有实际效果的。