Difference between revisions of "Template:AUC TURKEY"

Line 137: Line 137:
 
  * License: MIT
 
  * License: MIT
 
  */
 
  */
!function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("<a/>",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("<div/>",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document)
+
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(d($,b,c){\'14 1n\';$.4.2=d(a){3(!$.O(c.g,\'2\')){$.O(c.g,\'2\',K);$.4.2.G(a)}};$.4.2.G=d(a){1f o=$.4.2.t=$.Z({},$.4.2.F,a),j=8,m,k,f,p,D,5,$6;3(o.n){$6=$(o.n)}h{$6=$(\'<a/>\',{C:o.i,Y:\'#9\'})}3(o.r){$6.1c(\'1d\',o.r)}$6.x(\'g\');3(!(o.J||o.n)){$6.y(o.z)}$6.A({10:\'13\',B:\'1b\',l:o.l});3(o.s){$(\'<1e/>\',{C:o.i+\'-E\'}).A({B:\'1g\',\'9\':o.q+\'1q\',1r:\'1H%\',1A:\'V W\'+o.s,l:o.l}).x(\'g\')}X(o.H){I\'w\':m=\'11\';k=\'12\';f=o.u;L;I\'15\':m=\'16\';k=\'17\';f=o.u;L;18:m=\'19\';k=\'1a\';f=0}3(o.M===\'9\'){p=o.q}h{p=$(c).N()-$(b).N()-o.q}D=$(b).v(d(){3($(b).P()>p){3(!j){$6[m](f);j=K}}h{3(j){$6[k](f);j=8}}});3(o.5){3(Q o.5===\'1h\'){5=o.5}h 3(Q o.5===\'1i\'){5=1j.1k($(o.5).1l().9)}}h{5=0}$6.1m(d(e){e.1o();$(\'y, g\').1p({P:5},o.R,o.S)})};$.4.2.F={i:\'2\',q:T,M:\'9\',R:T,S:\'1t\',H:\'w\',u:1u,n:8,5:8,z:\'1v 1w 9\',r:8,J:8,s:8,l:1x};$.4.2.1y=d(a){$.1z(c.g,\'2\');$(\'#\'+$.4.2.t.i).U();$(\'#\'+$.4.2.t.i+\'-E\').U();3($.4.1B.1C(\'.\')[1]>=7){$(b).1D(\'v\',a)}h{$(b).1E(\'v\',a)}};$.2=$.4.2})(1F,1G,1s);',62,106,'||scrollUp|if|fn|scrollTarget|self||false|top||||function||animSpeed|body|else|scrollName|triggerVisible|animOut|zIndex|animIn|scrollTrigger||scrollDis|scrollDistance|scrollTitle|activeOverlay|settings|animationSpeed|scroll|fade|appendTo|html|scrollText|css|position|id|scrollEvent|active|defaults|init|animation|case|scrollImg|true|break|scrollFrom|height|data|scrollTop|typeof|scrollSpeed|easingType|300|remove|1px|dotted|switch|href|extend|display|fadeIn|fadeOut|none|use|slide|slideDown|slideUp|default|show|hide|fixed|attr|title|div|var|absolute|number|string|Math|floor|offset|click|strict|preventDefault|animate|px|width|document|swing|200|Scroll|to|2147483647|destroy|removeData|borderTop|jquery|split|off|unbind|jQuery|window|100'.split('|'),0,{}));
;$(function(){
+
$(function(){
 +
 
 +
jQuery.easing['jswing'] = jQuery.easing['swing'];
 
   $.scrollUp();
 
   $.scrollUp();
 
});
 
});

Revision as of 11:54, 27 June 2015