/** * sliphover v2.0.5 * require jquery 1.7+ * wayou june 24, 2014, * mit license * for more info pls visit :https://github.com/wayou/sliphover */ !function(e,t){function i(t,i){this.element=t,this.settings=e.extend({},r,i),this._defaults=r,this._name=o,this.version="v2.0.5",this.init()}var o="sliphover",r={target:"img",caption:"title",duration:"fast",fontcolor:"#fff",textalign:"center",verticalmiddle:!0,backgroundcolor:"rgba(0,0,0,.7)",backgroundcolorattr:null,reverse:!1,height:"100%",withlink:!0};i.prototype={init:function(){if(!/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.useragent)){var t=this,i=this.settings.target;e(this.element).off("mouseenter.sliphover",i).on("mouseenter.sliphover",i,function(){var i=e(this),o=t.createcontainer(i);o.off("mouseenter.sliphover mouseleave.sliphover").on("mouseenter.sliphover mouseleave.sliphover",function(r){var n=t.getdirection(e(this),r);if(n=t.settings.reverse?n=(n+2)%4:n,"mouseenter"===r.type){var s=o.find(".sliphover-overlay");s.length||(s=t.createoverlay(t,n,i),e(this).html(s)),t.slidein(t,s)}else t.removeoverlay(t,e(this),n)})})}},createcontainer:function(t){var i=t.offset().top,o=t.offset().left,r=t.outerwidth(),n=t.outerheight();zindex=t.css("z-index");var s=e("