//使用div时,请保证colee_left2与colee_left1是在同一行上. var speed=25//速度数值越大速度越慢 var colee_left2=document.getElementById("colee_left2"); var colee_left1=document.getElementById("colee_left1"); var colee_left=document.getElementById("colee_left"); colee_left2.innerHTML=colee_left1.innerHTML function Marquee3(){ if(colee_left2.offsetWidth-colee_left.scrollLeft<=0)//offsetWidth 是对象的可见宽度 colee_left.scrollLeft-=colee_left1.offsetWidth//scrollWidth 是对象的实际内容的宽,不包边线宽度 else{ colee_left.scrollLeft++ } } var MyMar3=setInterval(Marquee3,speed) colee_left.onmouseover=function() {clearInterval(MyMar3)} colee_left.onmouseout=function() {MyMar3=setInterval(Marquee3,speed)}

Address:Shi Ting Zhen Dong Keng Cun, Xiangcheng District, Zhangzhou City, Fujian Province

Tel:86 596 2572015  Mobile:86 013003952359

>> Location:Products > 

Item name:丝大包装

Specifications:丝大包装

Packing details:丝大包装

Detail description
返回>>

Home| About Us| Products| Pesticide Test| Contact Us

All Right Reserved©2012:Zhangzhou Panda Fungus Co.,Ltd.  Address:Shi Ting Zhen Dong Keng Cun, Xiangcheng District, Zhangzhou City, Fujian Province

Tel:86 596 2572015  Mobile:86 013003952359 Support:XiangRong Design

在线咨询