
function play() function closeBanner()
{
if(screen.width<=8||closeB)
{
for(var i=0;i
collection[i].object.style.display='none';
}
return ;
}
for(var i=0;i
var followObj=collection[i].object;
var followObj_x=(typeof (collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y=(typeof (collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.documentElement.scrollLeft+followObj_x))
{
var dx=(document.documentElement.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx>0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.documentElement.scrollTop+followObj_y))
{
var dy=(document.documentElement.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy>0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display='';
}
}
{
closeB=true;
return ;
}
var theFloaters=new floaters();
//
theFloaters.addItem('followDiv2',22,238,'


');
theFloaters.addItem('followDiv1','document.body.clientWidth-100',238,'


');
theFloaters.play();
script>
打包下载
