this.elem = o.element||$("document"); //触发放大的jquery元素
this.timeIn = o.timeIn||200;
this.timeOut = o.timeOut||200;
this.edgehided = o.edgehided||false; //限定元素放大的时候,不能超出父元素
this.width = o.width; //原来的宽度,可以改成js读取
this.height = o.height;
var size = o.size||1; //放大的倍数
this.nwidth = this.width*size;
this.nheight = this.height*size;
this.left = (this.nwidth - this.width) /2;
this.top = (this.nheight - this.height) /2;
this.triggeredselector = o.triggeredselector; //触发放大的最小标签
this.triggerselectors = o.triggerselectors||[];