$(document).ready(function () {
$( ".image-popup").fancybox();
$("#showdiv").fancybox({'centerOnScroll':true});
});
服务项目 丨SERVICES
联系方式丨CONTACT
- 全国热线:4000-888-9999
- 传真热线:020-66889888
- 业务咨询:4000-888-9999
- 企业邮箱:admin@baidu.com
var demo = document.getElementById("demo");
var demo1 = document.getElementById("demo1");
var demo2 = document.getElementById("demo2");
demo2.innerHTML=document.getElementById("demo1").innerHTML;
function Marquee(){
if(demo.scrollLeft-demo2.offsetWidth>=0){
demo.scrollLeft-=demo1.offsetWidth;
}
else{
demo.scrollLeft++;
}
}
var myvar=setInterval(Marquee,60);
demo.onmouseout=function (){myvar=setInterval(Marquee,60);}
demo.onmouseover=function(){clearInterval(myvar);}