/home/sharedstore/public_html/prestashop.sharedstore.ma/js/jquery/plugins
NameSizeModeActions
ajaxfileupload/-0755rm
alerts/-0755rm
autocomplete/-0755rm
bxslider/-0755rm
chosen/-0755rm
cluetip/-0755rm
fancybox/-0755rm
footable/-0755rm
footable-sort/-0755rm
growl/-0755rm
imgareaselect/-0755rm
jgrowl/-0755rm
jqzoom/-0755rm
jstree/-0755rm
select2/-0755rm
smartWizard/-0755rm
tabpane/-0755rm
thickbox/-0755rm
timepicker/-0755rm
treeview-categories/-0755rm
validate/-0755rm
index.php13190644editdlrm
jquery.autosize.js31770644editdlrm
jquery.chosen.js404370644editdlrm
jquery.colorpicker.js182630644editdlrm
jquery.cooki-plugin.js16980644editdlrm
jquery.dimensions.js25150644editdlrm
jquery.dragtable.js169150644editdlrm
jquery.easing.js49550644editdlrm
jquery.excanvas.js194150644editdlrm
jquery.fieldselection.js17960644editdlrm
jquery.flip.js117710644editdlrm
jquery.flot.js375540644editdlrm
jquery.highlight.js13640644editdlrm
jquery.hoverIntent.js16090644editdlrm
jquery.idTabs.js21490644editdlrm
jquery.ifxtransfer.js20180644editdlrm
jquery.jqminmax.js19550644editdlrm
jquery.jscroll.js150360644editdlrm
jquery.pngFix.js25720644editdlrm
jquery.scrollTo.js26760644editdlrm
jquery.serialScroll.js20130644editdlrm
jquery.sortable.js28720644editdlrm
jquery.tablednd.js121150644editdlrm
jquery.tablefilter.js19170644editdlrm
jquery.tagify.js38410644editdlrm
jquery.typewatch.js22980644editdlrm
jquery.validate-creditcard.js39020644editdlrm
jquery.validate.js210680644editdlrm
Edit: /home/sharedstore/public_html/prestashop.sharedstore.ma/js/jquery/plugins/jquery.scrollTo.js (2676B)
/** * Copyright (c) 2007-2014 Ariel Flesler - afleslergmailcom | http://flesler.blogspot.com * Licensed under MIT * @author Ariel Flesler * @version 1.4.14 */ ;(function(k){'use strict';k(['jquery'],function($){var j=$.scrollTo=function(a,b,c){return $(window).scrollTo(a,b,c)};j.defaults={axis:'xy',duration:0,limit:!0};j.window=function(a){return $(window)._scrollable()};$.fn._scrollable=function(){return this.map(function(){var a=this,isWin=!a.nodeName||$.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!isWin)return a;var b=(a.contentWindow||a).document||a.ownerDocument||a;return/webkit/i.test(navigator.userAgent)||b.compatMode=='BackCompat'?b.body:b.documentElement})};$.fn.scrollTo=function(f,g,h){if(typeof g=='object'){h=g;g=0}if(typeof h=='function')h={onAfter:h};if(f=='max')f=9e9;h=$.extend({},j.defaults,h);g=g||h.duration;h.queue=h.queue&&h.axis.length>1;if(h.queue)g/=2;h.offset=both(h.offset);h.over=both(h.over);return this._scrollable().each(function(){if(f==null)return;var d=this,$elem=$(d),targ=f,toff,attr={},win=$elem.is('html,body');switch(typeof targ){case'number':case'string':if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(targ)){targ=both(targ);break}targ=win?$(targ):$(targ,this);if(!targ.length)return;case'object':if(targ.is||targ.style)toff=(targ=$(targ)).offset()}var e=$.isFunction(h.offset)&&h.offset(d,targ)||h.offset;$.each(h.axis.split(''),function(i,a){var b=a=='x'?'Left':'Top',pos=b.toLowerCase(),key='scroll'+b,old=d[key],max=j.max(d,a);if(toff){attr[key]=toff[pos]+(win?0:old-$elem.offset()[pos]);if(h.margin){attr[key]-=parseInt(targ.css('margin'+b))||0;attr[key]-=parseInt(targ.css('border'+b+'Width'))||0}attr[key]+=e[pos]||0;if(h.over[pos])attr[key]+=targ[a=='x'?'width':'height']()*h.over[pos]}else{var c=targ[pos];attr[key]=c.slice&&c.slice(-1)=='%'?parseFloat(c)/100*max:c}if(h.limit&&/^\d+$/.test(attr[key]))attr[key]=attr[key]<=0?0:Math.min(attr[key],max);if(!i&&h.queue){if(old!=attr[key])animate(h.onAfterFirst);delete attr[key]}});animate(h.onAfter);function animate(a){$elem.animate(attr,g,h.easing,a&&function(){a.call(this,targ,h)})}}).end()};j.max=function(a,b){var c=b=='x'?'Width':'Height',scroll='scroll'+c;if(!$(a).is('html,body'))return a[scroll]-$(a)[c.toLowerCase()]();var d='client'+c,html=a.ownerDocument.documentElement,body=a.ownerDocument.body;return Math.max(html[scroll],body[scroll])-Math.min(html[d],body[d])};function both(a){return $.isFunction(a)||$.isPlainObject(a)?a:{top:a,left:a}}return j})}(typeof define==='function'&&define.amd?define:function(a,b){if(typeof module!=='undefined'&&module.exports){module.exports=b(require('jquery'))}else{b(jQuery)}}));