日期:2014-05-16  浏览次数:20355 次

大家帮忙,为什么出错,很急,,
<!DOCTYPE   html   PUBLIC   "-//W3C//DTD   XHTML   1.0   Transitional//EN "   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html   xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 "   />
<title> 无标题文档 </title>
<style   type= "text/css ">
<!--
.fontcolor   {color:   #0B3960}
body,td,th   {
font-size:   9pt;
color:   #2B4D8A;
}
body   {
margin-top:   200px;
}
.txt{
      width:140px;
      border:1px   solid   #447CB5;
      background-color:#EBF5FC;
}
li.msg{
      list-style:none;
      margin-left:0px;
      height:16px;
      padding-top:9px;
}
-->
</style>
<script   language= "javascript ">

      /*
        *   @   function:   single   line   scroll
*   @   author:Tom  
*   @   date:   2007-5-19
*/

      /*---------------------------------------*/
      function   Marquee(w,h)
      {
      this.container=null;
      this.msgBox_1=null;
      this.msgBox_2=null;
      this._w=w+ "px ";
      this._h=h+ "px ";
      this.msg_arr=[];
      this.msgString= " ";
      this.isGo=true;
      this.counter=0;
      }
     
      Marquee.prototype.push=function(obj)
      {
              this.msg_arr.push(obj);
      }
     
      Marquee.prototype.init=function()
      {
              for(var   i=0;i <this.msg_arr.length;i++)
      {
            this.msgString+= " <li   class=\ "msg\ "> "+this.msg_arr[i]+ " </li> ";      
      }
     
              this.container=document.createElement( "DIV ");     //初始化外层容器
      this.container.style.width=this._w;
      this.container.style.height=this._h;
      this.container.style.verticalAlign= "middle ";
      this.container.style.overflowY= "hidden ";
     
      this.msgBox_1=document.createElement( "DIV ");     //初始化内层容器
      this.msgBox_1.style.width=this._w;
      this.msgBox_1.style.verticalAlign= "middle ";
      this.msgBox_1.innerHTML=this.msgString;
     
      this.msgBox_2=document.createElement( "DIV "); <