mullar

主题: 求多行不间断滚动图片代码

现在网上的程序代码是只能在一个页面有1个滚动图片条,如果要2个如何做?
谁能提供源代码,有flash的也行!

下面附一段代码,可惜只能用一个条,谁能帮改改变成2条滚动图片条?

连续向左滚动   
  <html>   
  <head>   
  <meta   http-equiv="Content-Type"   content="text/html;   charset=gb2312">   
  <title>连续向左滚动</title>   
  <style   type="text/css">   
  <!--   
  body   {   
  font-size:   9pt;   
  color:   #000000;   
  }   
  a   {   
          color:   #0000FF;   
  text-decoration:   none;   
  }   
  a:hover   {   
  color:   #FF0000;   
  text-decoration:   underline;   
  }   
  -->   
  </style>   
  </head>   
   
  <body>   
   
  <div   id="marquees">   
  <a   href="#">链接一</a>   
  <a   href="#">链接二</a>   
  <a   href="#">链接三</a>   
  <a   href="#">链接四</a>   
  </div>   
   
  <div   id="templayer"   style="position:absolute;left:0;top:0;visibility:hidden"></div>   
  <script   language="JavaScript">   
   
  marqueesWidth=200;   
   
  with(marquees){   
  style.height=0;   
  style.width=marqueesWidth;   
  style.overflowX="hidden";   
  style.overflowY="visible";   
  noWrap=true;   
  onmouseover=new   Function("stopscroll=true");   
  onmouseout=new   Function("stopscroll=false");   
  }   
  preLeft=0;   currentLeft=0;   stopscroll=false;   
   
  function   init(){   
  templayer.innerHTML="";   
  while(templayer.offsetWidth<marqueesWidth){   
  templayer.innerHTML+=marquees.innerHTML;   
  }   
  marquees.innerHTML+=templayer.innerHTML;   
  setInterval("scrollLeft()",10);   
  }init();   
   
  function   scrollLeft(){   
  if(stopscroll==true)   return;   
  preLeft=marquees.scrollLeft;   
  marquees.scrollLeft+=1;   
  if(preLeft==marquees.scrollLeft){   
      marquees.scrollLeft=templayer.offsetWidth-marqueesWidth+1;   
  }   
  }   
   
   
  </script>   
  </body>   
  </html>

《劝学》——少年易老学难成,一寸光阴未可轻。未觉池塘春草梦,阶前梧叶已秋声。