滾動(dòng)新聞的代碼
<MARQUEE onmouSEOver=this.stop() onmouseout=this.start()scrollAmount=4 width=400 height=150 direction="up"> 你要滾動(dòng)的內(nèi)容</MARQUEE>
把這段直接放在<td></td>中
scrollamount是滾動(dòng)速度,數(shù)越大越快;direction是方向.
onmouseover=this.stop()是鼠標(biāo)懸浮停止
onmouseout=this.start()是鼠標(biāo)離開(kāi)繼續(xù)滾動(dòng)
width和height分別是寬度和高度.根據(jù)需要自定義大小.
<MARQUEE onmouSEOver=this.stop() onmouseout=this.start()scrollAmount=4 width=400 height=150 direction="up"> 你要滾動(dòng)的內(nèi)容</MARQUEE>
把這段直接放在<td></td>中
scrollamount是滾動(dòng)速度,數(shù)越大越快;direction是方向.
onmouseover=this.stop()是鼠標(biāo)懸浮停止
onmouseout=this.start()是鼠標(biāo)離開(kāi)繼續(xù)滾動(dòng)
width和height分別是寬度和高度.根據(jù)需要自定義大小.