文本向上循环滚动,放上鼠标后就自动停止

王朝other·作者佚名  2006-11-24
宽屏版  字体: |||超大  

有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>

<!-- http://www.webjx.com/ -->

<!-- http://bbs.webjx.com/ -->

<!--把下面代码放到<body>区域中-->

<SCRIPT language=JavaScript>

//Author:redriver

var index =15

text = new Array(14);

text[0] =' 偶然 '

text[1] =''

text[2] =' & 徐志摩 '

text[3] =''

text[4] ='我是天空里的一片云,'

text[5] ='偶尔投影在你的波心——'

text[6] ='你不必讶异,'

text[7] ='更无须欢喜——'

text[8] ='在转瞬间消灭了踪影。'

text[9] =''

text[10] ='你我相逢在黑暗的海上,'

text[11] ='你有你的,我有我的,方向; '

text[12] ='你记得也好, '

text[13] ='最好你忘掉, '

text[14] ='在这交会时互放的光亮!这里就是网页教学网'

document.write ("<marquee scrollamount='1' scrolldelay='60' direction= 'UP' width='250 ' id=webjx height='200' onmouseover=webjx.stop() onmouseout=webjx.start()>");

for (i=0;i<index;i++){

document.write ("<font color=#6699ff>");

document.write (text[i] + "</font><br>");

}

document.write ("</marquee>")

//More:http://www.webjx.com

</SCRIPT>

[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有