PageSourceSearch

https://industryinsider.eu/wp-content/themes/polskiprzemysl/js/flexslider-custom.js?ver=1791290401

js industryinsider.eu collected 2026-10-06 12:40:14 UTC 2,275 bytes, 80 lines download raw bytes

1$(function() {
2 
3  // store the slider in a local variable
4  var $window = $(window),
5      flexslider = { vars:{} };
6 
7  // tiny helper function to add breakpoints
8  function getGridSize() {
9    return (window.innerWidth < 480) ? 1 :
10           (window.innerWidth < 760) ? 2 : 
11		   (window.innerWidth < 980) ? 3 : 4;
12  }
13  
14  $window.load(function() {
15	
16	//home video
17    $('.articles-slider-from-category').flexslider({
18      animation: "slide",
19      animationLoop: true,
20      itemWidth: 320,
21	  itemMargin: 10,
22	  controlNav: false,
23	  move: 1,
24      minItems: getGridSize(), // use function to pull in initial value
25      maxItems: getGridSize() // use function to pull in initial value
26    });	
27	
28	//sponsored articles
29    $('.sponsored-articles-slider-1, .sponsored-articles-slider-2, .sponsored-articles-slider-3, .sponsored-articles-slider-4, .sponsored-articles-slider-5').flexslider({
30      animation: "slide",
31      animationLoop: true,
32      itemWidth: 320,
33	  itemMargin: 10,
34	  controlNav: false,
35	  move: 1,
36	  start: function(){
37		$('.widget_sponsoredArticles').css( 'opacity', 1 );
38	  },
39      minItems: getGridSize(), // use function to pull in initial value
40      maxItems: getGridSize() // use function to pull in initial value
41    });
42	
43	
44	//biblioteka managera slider
45    $('#biblioteka-managera-slider').flexslider({
46      animation: "slide",
47      animationLoop: true,
48      itemWidth: 320,
49	  itemMargin: 10,
50	  controlNav: false,
51	  move: 1,
52      minItems: getGridSize(), // use function to pull in initial value
53      maxItems: getGridSize() // use function to pull in initial value
54    });
55	
56	//category extra products
57    $('.box-products-wrap-category').flexslider({
58      animation: "slide",
59      animationLoop: true,
60      itemWidth: 320,
61	  itemMargin: 10,
62	  controlNav: false,
63	  move: 1,
64      minItems: getGridSize(), // use function to pull in initial value
65      maxItems: getGridSize() // use function to pull in initial value
66    });
67	
68/*	//wydarzenia box slider
69    $('#wydarzenia-box-slider .wydarzenia-box').flexslider({
70      animation: "slide",
71	  easing: "linear",
72      animationLoop: true,
73	  useCSS: false,
74	  slideshowSpeed: 1,
75	  animationSpeed: 4000,
76	  controlNav: false,
77	  directionNav: false
78    }); */
79  });
80});

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.