this.f= o.fselector; //装轮播的容器 !!
this.selector = o.selector ; //需要切换的内容 !!
this.lastbutton = $(o.lastbutton)||null; //上一个 按钮
this.nextbutton = $(o.nextbutton)||null; //上一个 按钮
this.index = o.index||1; //外面显示的 是 从1 开始 暂不能用
this.time = o.time || 3000; //轮播间隔时间
this.animationtime = o.animationtime || 2000; // 动画时间
this.autofalse = o.autofalse || false; //自动是播放的
this.itemdis = o.itemdis || 0; //上下item 切换距离间距
this.felem = $(this.f)||document;
this.elems = this.felem.find(this.selector)||document; //切换元素集合
// this.isHover = o.isHover||true; //鼠标放在上面的时候悬停
this.totalpage = this.elems.length;
this.index = this.index-1;
this.lastindex = this.index -1;
this.dis = this.felem.width()+this.itemdis;
this.pauseclass = Math.random().toString().replace(/\./,"_")+"pause";
this.timeouthandle=null; //防止多个计时
this.hasclick = false; //防止点击过快,导致效果错乱