厂家直销请勿打扰/请即清理门铃开关

名称:厂家直销请勿打扰/请即清理门铃开关

供应商:美国西蒙电气(中国)有限公司

价格:面议

最小起订量:5/个

地址:浙江省温州市龙湾天河蒲门中路120

手机: 13958889287

联系人:罗经理 (请说在中科商务网上看到)

产品编号:38007125

更新时间:2021-02-04

发布者IP:114.104.59.213

详细说明

  if(SearchResultfoNum>0){

  getShopSeriesInfo(SearchResultfoNum);

  }

  var groupcount=1;

  if(SearchResultfoNum%4==0){

  groupcount=SearchResultfoNum/4;

  }else{

  groupcount=Math.floor(SearchResultfoNum/4)+1;

  }

  var marqueetable = document.getElementById("zh0121");

  scrollheight=240; //滚动高度

  scrollline=groupcount; //滚动内容的行数

  scrolltimeout = 1; //滚动刷新的时间(毫秒) //滚动停留时检测的次数,

  scrollstoptimes = 100; //scrollstoptimes*scrolltimeout为实际的停留时间

  /*初始化滚动设置(无需修改)*/

  marqueetable.scrollTop=0;

  stopscroll1=false;

  startmarqueetop=0;

  offsettop=scrollheight;

  marqueestoptime=0;

  marqueetable.innerHTML+=marqueetable.innerHTML;

  with(marqueetable){

  //style.width=680+"px"; 宽度

  style.height=scrollheight+"px";

  style.overflowX="hidden";

  style.overflowY="hidden";

  noWrap=false;

  onmouseover=new Function("stopscroll1=true");

  onmouseout=new Function("stopscroll1=false");

  }

  function setmarqueetime()

  {

  marqueetable.scrollTop=0;

  setInterval("marqueeup()",scrolltimeout);//设置滚动的时间

  }

  function marqueeup(){

  if(stopscroll1==true) return;

  offsettop++;

  if(offsettop==scrollheight+1)

  {

  marqueestoptime++;

  offsettop--;

  if(marqueestoptime==scrollstoptimes)//停留的时间

  {

  offsettop=0;

  marqueestoptime=0;

  }

  }

  else

  {

  startmarqueetop=marqueetable.scrollTop;

  marqueetable.scrollTop++;

  if(startmarqueetop==marqueetable.scrollTop)

  {

  marqueetable.scrollTop=scrollheight*(scrollline-1);

  marqueetable.scrollTop++;

  }

  }

  }

  if(SearchResultfoNum>0){

  setmarqueetime();

  }