首頁/產(chǎn)品中心 / 燃?xì)獗趻鞝t系列 / = 0){
obj.style['left'] = this.items[i].x+ 'px';
}else{
obj.style['right'] = Math.abs(this.items[i].x)+ 'px';
}
if( obj.offsetTop != total)
{
var oldy = (total - obj.offsetTop) * this.delta;
newtop = obj.offsetTop + ( oldy>0?1:-1 ) * Math.ceil( Math.abs(oldy) );
obj.style['top'] = newtop + 'px';
}
}
}