<
SCRIPT language
=
JavaScript
>
<!--
function marquee1()
{
document.write("<marquee behavior=scroll direction=up width=140 height=130 scrollamount=1 scrolldelay=60 οnmοuseοver='this.stop()' οnmοuseοut='this.start()'>")
}
function marquee2()
{
document.write("</marquee>")
}
// -->
</ SCRIPT >
<!--
function marquee1()
{
document.write("<marquee behavior=scroll direction=up width=140 height=130 scrollamount=1 scrolldelay=60 οnmοuseοver='this.stop()' οnmοuseοut='this.start()'>")
}
function marquee2()
{
document.write("</marquee>")
}
// -->
</ SCRIPT >
在代码中插入
<
SCRIPT
language
=JavaScript
>
marquee1();
</
SCRIPT
>
这里是滚动内容,可以直接写入asp代码
< SCRIPT language =JavaScript > marquee2(); </ SCRIPT >
这里是滚动内容,可以直接写入asp代码
< SCRIPT language =JavaScript > marquee2(); </ SCRIPT >
在静态网页中实现此效果时:
<
MARQUEE
onmouseover
=this.stop()
style
="FONT-SIZE: 9pt; FONT-FAMILY: 宋体"
onmouseout
=this.start()
scrollAmount
=1
scrollDelay
=10
width
="200"
>
< A href ="http://www.qpsh.com" target =_blank >< FONT color =#FF0000 >
什么是网页特效? </ FONT ></ A >
< A href ="http://www.qpsh.com" target =_blank >< FONT color =#0000FF > 如何使用网页特效? </ FONT ></ A ></ MARQUEE >
< A href ="http://www.qpsh.com" target =_blank >< FONT color =#FF0000 >
什么是网页特效? </ FONT ></ A >
< A href ="http://www.qpsh.com" target =_blank >< FONT color =#0000FF > 如何使用网页特效? </ FONT ></ A ></ MARQUEE >