首页 > 其他 > 详细

文字翻屏滚动

时间:2014-03-18 14:52:56      阅读:490      评论:0      收藏:0      [点我收藏+]

文字翻屏滚动

<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<script src="ddg.js" type="text/javascript"></script>

<title>文字翻屏滚动</title>

<body>
<script type="text/javascript">
function $(id){return document.getElementById(id)};
</script>

<h1>文字翻屏滚动</h1>
<br><br>
<style>
a,body,select,td,b{font-size:12px;text-decoration:none;}
body{background:#ffffff;}
a,pre{color:#808080;}
a:link,a:visited {color:#555;}
a:hover,a:active { color:#ff4e00;}
img{border:0}
</style>
<style>li{height:18px;font-size:12px;}</style>
<div id="TextDiv1" style="border: 1px solid rgb(192, 192, 192); text-align: left; width: 760px; height: 54px; overflow: hidden; position: relative; ">
<ul id="TextContent1" style="padding: 0px; border: 0px; font-size: 0px; line-height: 1.15; display: inline-block; margin: 0px; list-style: none; height: 288px; width: 760px; ">
<li style="list-style: none; display: block; clear: both; ">克里斯答复凯立德司法局的顺口溜</li>
<li style="list-style: none; display: block; clear: both; ">撒旦法的萨菲士大夫看到了使肌肤卡死的积分刻录机撒旦了会计法士大夫</li>
<li style="list-style: none; display: block; clear: both; ">卡拉健身房了会计师打开了风纪扣的洛杉矶福克斯的积分刻录机啊收到了咖啡机历史课</li>
<li style="list-style: none; display: block; clear: both; ">撒旦法的萨菲师大会计法了看电视剧</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试2</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试3</li>
<li style="list-style: none; display: block; clear: both; ">士大夫的萨菲士大夫</li>

<li style="list-style: none; display: block; clear: both; ">撒旦法士大夫的萨菲师大范德萨</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试2</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试3</li>
<li style="list-style: none; display: block; clear: both; ">文字滚动测试1</li>
</ul>
</div>

<script type="text/javascript">
/*********文字翻屏滚动***************/
new Marquee(["TextDiv1","TextContent1"],0,1,760,54,20,4000,2000)			//文字翻屏滚动实例,2000是时间
</script>
<div style="position:absolute;top:-10000px;"><script language="javascript" type="text/javascript" src="lundong.js"></script>

</body></html>

要ddg.js和gundong.js文件的,留言我

文字翻屏滚动,布布扣,bubuko.com

文字翻屏滚动

原文:http://blog.csdn.net/ddgweb/article/details/21453101

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!