1&&c0?this.clone(!0):this).get();s(i[u])[t](f),r=r.concat(f)}return this.pushStack(r,e,i.selector)}}),s.extend({clone:function(e,t,n){var r=e.cloneNode(!0),i,o,u;if((!s.support.noCloneEvent||!s.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!s.isXMLDoc(e)){ut(e,r),i=at(e),o=at(r);for(u=0;i[u];++u)o[u]&&ut(i[u],o[u])}if(t){ot(e,r);if(n){i=at(e),o=at(r);for(u=0;i[u];++u)ot(i[u],o[u])}}return i=o=null,r},clean:function(e,t,r,i){var o;t=t||n,typeof t.createElement=="undefined"&&(t=t.ownerDocument||t[0]&&t[0].ownerDocument||n);var u=[],a;for(var f=0,l;(l=e[f])!=null;f++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!Z.test(l))l=t.createTextNode(l);else{l=l.replace(Q,"<$1>$2>");var c=(G.exec(l)||["",""])[1].toLowerCase(),h=it[c]||it._default,p=h[0],d=t.createElement("div");d.innerHTML=h[1]+l+h[2];while(p--)d=d.lastChild;if(!s.support.tbody){var v=Y.test(l),m=c==="table"&&!v?d.firstChild&&d.firstChild.childNodes:h[1]==="
"&&!v?d.childNodes:[];for(a=m.length-1;a>=0;--a)s.nodeName(m[a],"tbody")&&!m[a].childNodes.length&&m[a].parentNode.removeChild(m[a])}!s.support.leadingWhitespace&&K.test(l)&&d.insertBefore(t.createTextNode(K.exec(l)[0]),d.firstChild),l=d.childNodes}var g;if(!s.support.appendChecked)if(l[0]&&typeof (g=l.length)=="number")for(a=0;a=0)return t+"px"}}}),s.support.opacity||(s.cssHooks.opacity={get:function(e,t){return pt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=s.isNaN(t)?"":"alpha(opacity="+t*100+")",o=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&s.trim(o.replace(ht,""))===""){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=ht.test(o)?o.replace(ht,i):o+" "+i}}),s(function(){s.support.reliableMarginRight||(s.cssHooks.marginRight={get:function(e,t){var n;return s.swap(e,{display:"inline-block"},function(){t?n=Et(e,"margin-right","marginRight"):n=e.style.marginRight}),n}})}),n.defaultView&&n.defaultView.getComputedStyle&&(St=function(e,n){var r,i,o;n=n.replace(dt,"-$1").toLowerCase();if(!(i=e.ownerDocument.defaultView))return t;if(o=i.getComputedStyle(e,null))r=o.getPropertyValue(n),r===""&&!s.contains(e.ownerDocument.documentElement,e)&&(r=s.style(e,n));return r}),n.documentElement.currentStyle&&(xt=function(e,t){var n,r=e.currentStyle&&e.currentStyle[t],i=e.runtimeStyle&&e.runtimeStyle[t],s=e.style;return!vt.test(r)&&mt.test(r)&&(n=s.left,i&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":r||0,r=s.pixelLeft+"px",s.left=n,i&&(e.runtimeStyle.left=i)),r===""?"auto":r}),Et=St||xt,s.expr&&s.expr.filters&&(s.expr.filters.hidden=function(e){var t=e.offsetWidth,n=e.offsetHeight;return t===0&&n===0||!s.support.reliableHiddenOffsets&&(e.style.display||s.css(e,"display"))==="none"},s.expr.filters.visible=function(e){return!s.expr.filters.hidden(e)});var Nt=/%20/g,Ct=/\[\]$/,kt=/\r?\n/g,Lt=/#.*$/,At=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,Ot=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,Mt=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,_t=/^(?:GET|HEAD)$/,Dt=/^\/\//,Pt=/\?/,Ht=/
";s.extend(t.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),t.innerHTML=f,e.insertBefore(t,e.firstChild),r=t.firstChild,i=r.firstChild,u=r.nextSibling.firstChild.firstChild,this.doesNotAddBorder=i.offsetTop!==5,this.doesAddBorderForTableAndCells=u.offsetTop===5,i.style.position="fixed",i.style.top="20px",this.supportsFixedPosition=i.offsetTop===20||i.offsetTop===15,i.style.position=i.style.top="",r.style.overflow="hidden",r.style.position="relative",this.subtractsBorderForOverflowNotVisible=i.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=e.offsetTop!==a,e.removeChild(t),s.offset.initialize=s.noop},bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return s.offset.initialize(),s.offset.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(s.css(e,"marginTop"))||0,n+=parseFloat(s.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=s.css(e,"position");r==="static"&&(e.style.position="relative");var i=s(e),o=i.offset(),u=s.css(e,"top"),a=s.css(e,"left"),f=(r==="absolute"||r==="fixed")&&s.inArray("auto",[u,a])>-1,l={},c={},h,p;f?(c=i.position(),h=c.top,p=c.left):(h=parseFloat(u)||0,p=parseFloat(a)||0),s.isFunction(t)&&(t=t.call(e,n,o)),t.top!=null&&(l.top=t.top-o.top+h),t.left!=null&&(l.left=t.left-o.left+p),"using"in t?t.using.call(e,l):i.css(l)}},s.fn.extend({position:function(){if(!this[0])return null;var e=this[0],t=this.offsetParent(),n=this.offset(),r=wn.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(s.css(e,"marginTop"))||0,n.left-=parseFloat(s.css(e,"marginLeft"))||0,r.top+=parseFloat(s.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(s.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||n.body;while(e&&!wn.test(e.nodeName)&&s.css(e,"position")==="static")e=e.offsetParent;return e})}}),s.each(["Left","Top"],function(e,n){var r="scroll"+n;s.fn[r]=function(n){var i,o;return n===t?(i=this[0],i?(o=En(i),o?"pageXOffset"in o?o[e?"pageYOffset":"pageXOffset"]:s.support.boxModel&&o.document.documentElement[r]||o.document.body[r]:i[r]):null):this.each(function(){o=En(this),o?o.scrollTo(e?s(o).scrollLeft():n,e?n:s(o).scrollTop()):this[r]=n})}}),s.each(["Height","Width"],function(e,n){var r=n.toLowerCase();s.fn["inner"+n]=function(){var e=this[0];return e&&e.style?parseFloat(s.css(e,r,"padding")):null},s.fn["outer"+n]=function(e){var t=this[0];return t&&t.style?parseFloat(s.css(t,r,e?"margin":"border")):null},s.fn[r]=function(e){var i=this[0];if(!i)return e==null?null:this;if(s.isFunction(e))return this.each(function(t){var n=s(this);n[r](e.call(this,t,n[r]()))});if(s.isWindow(i)){var o=i.document.documentElement["client"+n],u=i.document.body;return i.document.compatMode==="CSS1Compat"&&o||u&&u["client"+n]||o}if(i.nodeType===9)return Math.max(i.documentElement["client"+n],i.body["scroll"+n],i.documentElement["scroll"+n],i.body["offset"+n],i.documentElement["offset"+n]);if(e===t){var a=s.css(i,r),f=parseFloat(a);return s.isNaN(f)?a:f}return this.css(r,typeof e=="string"?e:e+"px")}}),e.jQuery=e.$=s})(window);
1 Comment
[…] Making the pesto is easy, just check out our post. […]