java练习-滚动文字

时间:2022-05-19 05:00:32
<marquee direction="left" onMouseOver="this.scrollAmount=5" onMouseOut="this.scrollAmount=2"
onMouseDown="this.scrollAmount=4"; onMouseUp="this.scrollAmount=1"; behavior="slide";scrollAmount="2" height="291" >
<table cellspacing="2" cellpadding="0" border="0" width="100%" align="center">
<tr>
<td height="30" style="color:yellow;font-size:10pt;font-weight:bold;">
<a href="#">美国国务卿希拉里。克林顿昨日访华,洽谈中美经济合作</a>
</td>
</tr>
<tr>
<td height="20" align="right">公司发布时间:2010-05-28</td>
</tr>
<tr>
<td height="30" style="color:yellow;font-size:10pt;font-weight:bold;">
<a href="#">希腊债务危机愈演愈烈,将影响整个欧洲经济。</a>
</td>
</tr>
<tr>
<td height="20" align="right">公布时间:2010-05-28</td>
</tr>
</table>
</marquee>