LED显示屏文字滚动代码

Js模拟LED显示屏文字滚动特效,和大街上的LED显示屏文字滚动效果很像哦,本特效是用JS方法仿写,主要使用的是HTML的Marquee属性,有兴趣的自己改写为js版的LED屏文字滚动,跑马屏文字滚动。本效果兼容IE/火狐、Chrome等浏览器。

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
 <title>LED显示屏文字滚动</title>
 <style type="text/css">
 #pmp {
 font-family: "微软雅黑";
 font-size: 40px;
 color: #FF0000;
 text-decoration: none;
 height: 50px;
 width: 930px;
 border: 5px ridge #999;
 background-color: #222;
 padding-top: 8px;
 padding-right: 5px;
 padding-left: 5px;
 }
 </style>
 </head>
 <body>
 <div id="pmp"><marquee scrollamount="3" scrolldelay="30" direction= "left" onmouseover="this.stop()" onmouseout="this.start()">热烈欢迎市领导来我公司指导工作
 </marquee>
 </div>
 </body>
</html>