渣王 发表于 2003-3-8 16:03:00

文本自动向上循环滚动,鼠标放到上面还会暂时停下来

<table border="1" bordercolor="#000000" bgcolor="#6699ff" cellpadding="5" cellspacing="0">
<tr>
<td>
<script language=javascript>

document.write ("<marquee scrollamount=''1'' scrolldelay=''30'' direction= ''UP''
width=''200'' id=''helpor_net'' height=''150'' onmouseover=''helpor_net.stop()''
onmouseout=''helpor_net.start()'' Author:redriver; For more,visit:www.helpor.net>")

document.write ("<h2><p align=''center''><font color=''#ffffff'' face=''黑体''>偶 然
</font></h2>")
document.write ("<p align=''right''><a href=''#'' target=''_blank''><font
color=''#ffffff''>徐志摩</font></a> ")
document.write ("<p><font color=''#ffffff''> ")
document.write ("
我是天空里的一片云,")
document.write ("
偶尔投影在你的波心—— ")
document.write ("
你不必讶异, ")
document.write ("
更无须欢喜—— ")
document.write ("
在转瞬间消灭了踪影。")
document.write ("
")
document.write ("
你我相逢在黑暗的海上,")
document.write ("
你有你的,我有我的,方向;")
document.write ("
你记得也好, ")
document.write ("
最好你忘掉, ")
document.write ("
在这交会时互放的光亮! ")
document.write ("</font>")

document.write ("</marquee> ")
</script>
</td>
</tr>
</table>

hsq1011 发表于 2003-3-12 20:37:00

用不着写那么复杂吧
<marquee onmouseover="this.stop()" onmouseout="this.start()">
adsfadsfasdfa
asdfasdfasdfasdf
asdfsdfdf
</marquee>
简单才是最好

渣王 发表于 2003-3-13 17:03:00

你这个无法使鼠标放在字幕上就停止滚动
页: [1]
查看完整版本: 文本自动向上循环滚动,鼠标放到上面还会暂时停下来