在Dreamweaver MX 2004中怎样插入滚动新闻

来源:百度知道 编辑:UC知道 时间:2024/07/02 07:36:52

给你段代码加进去就行!
几排文字向上滚动

<MARQUEE direction=up onmouseout=start(); onmouseover=stop(); scrollAmount=1 scrollDelay=15 width=160 height="100px">

插入你要输入的文字</MARQUEE>

在输入文字时,如要它一行一行的出还要在每段文字的后面加上<br> .

一些其他代码:

<marquee direction=left>从右向左移!</marquee><p>
<marquee direction=right>从左向右移!</marquee><p>
<marquee behavior=scroll>一圈一圈绕着走!</marquee><p>
<marquee behavior=slide>只走一次就歇了!</marquee><p>
<marquee behavior=alternate>来回走!</marquee><p>
<marquee loop=3 width=50% behavior=scroll>只走 3 趟</marquee><p>
<marquee loop=3 width=50% behavior=slide>只走 3 趟!</marquee><p>
<marquee loop=3 width=50% behavior=alternate>只走 3 趟!</marquee><p>
<marquee scrollamount=20>走得好快哟!</marquee>

文字滚动代码 (从右向左滚动)

&l