//调用方法
$('.scorll_ar_left').bind('click',function(){imagescroll('.itemlist','right',3,500);});
//图片滚动方法
function imagescroll(parent,Orient,number,time){
var p=$(parent),c=p.children(),w=c.outerWidth(),l=c.length,position=p.position(),le=position.left,scro=w*number,all=w*l;
if (p.is(":animated")) return ! 1; //动画未结束前点击事件不能生效的
if(Orient == 'left'){//向左运动
if(le == (scro-all)){//最右边
var value= scro-al......
阅读全文