PageSourceSearch

https://www.grusdirekte.dk/shop/js/jcarousellite_1.0.1c4.min.js

js grusdirekte.dk collected 2026-09-26 16:13:18 UTC 2,225 bytes, 1 lines download raw bytes

1!function(e){function t(t,n){return parseInt(e.css(t[0],n))||0}e.fn.jCarouselLite=function(n){return n=e.extend({btnPrev:null,btnNext:null,btnGo:null,mouseWheel:!1,auto:null,hoverPause:!1,speed:500,easing:null,vertical:!1,circular:!0,visible:1,start:0,scroll:1,beforeStart:null,afterEnd:null},n||{}),this.each(function(){var i=!1,r=n.vertical?"top":"left",l=n.vertical?"height":"width",s=e(this),c=e("ul",s),o=e("li",c),u=o.size(),a=n.visible;n.circular&&(c.prepend(o.slice(u-a+1).clone()).append(o.slice(0,n.scroll).clone()),n.start+=a-1);var f=e("li",c),v=f.size(),h=n.start;s.css("visibility","visible"),f.css({overflow:"hidden",float:n.vertical?"none":"left"}),c.css({margin:"0",padding:"0",position:"relative","list-style-type":"none","z-index":"1"}),s.css({overflow:"hidden",position:"relative","z-index":"2",left:"0px"});var d,b,p=n.vertical?(d=f)[0].offsetHeight+t(d,"marginTop")+t(d,"marginBottom"):function(e){return e[0].offsetWidth+t(e,"marginLeft")+t(e,"marginRight")}(f),x=p*v,g=p*a;function m(){P(),b=setInterval(function(){N(h+n.scroll)},n.auto+n.speed)}function P(){clearInterval(b)}function w(){return f.slice(h).slice(0,a)}function N(t){if(!i){if(n.beforeStart&&n.beforeStart.call(this,w()),n.circular)t<0?(c.css(r,-(h+u)*p+"px"),h=t+u):t>v-a?(c.css(r,-(h-u)*p+"px"),h=t-u):h=t;
1else{if(t<0||t>v-a)return;h=t}i=!0,c.animate("left"==r?{left:-h*p}:{top:-h*p},n.speed,n.easing,function(){n.afterEnd&&n.afterEnd.call(this,w()),i=!1}),n.circular||(e(n.btnPrev+","+n.btnNext).removeClass("disabled"),e(h-n.scroll<0&&n.btnPrev||h+n.scroll>v-a&&n.btnNext||[]).addClass("disabled"))}return!1}f.css({width:f.width(),height:f.height()}),c.css(l,x+"px").css(r,-h*p),s.css(l,g+"px"),n.btnPrev&&(e(n.btnPrev).click(function(){return N(h-n.scroll)}),n.hoverPause&&e(n.btnPrev).hover(function(){P()},function(){m()})),n.btnNext&&(e(n.btnNext).click(function(){return N(h+n.scroll)}),n.hoverPause&&e(n.btnNext).hover(function(){P()},function(){m()})),n.btnGo&&e.each(n.btnGo,function(t,i){e(i).click(function(){return N(n.circular?n.visible+t:t)})}),n.mouseWheel&&s.mousewheel&&s.mousewheel(function(e,t){return N(t>0?h-n.scroll:h+n.scroll)}),n.auto&&(n.hoverPause&&s.hover(function(){P()},function(){m()}),m())})}}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.