PageSourceSearch

https://zelaznarybka.pl/themes/theme_fulo1/modules/posrecommendedproducts/views/js/posrecommendedproducts.js

js zelaznarybka.pl collected 2026-10-08 07:35:46 UTC 2,690 bytes, 93 lines download raw bytes

1$(document).ready(function() {
2	var $recommendedproductconf = $('.recommended-product');
3	var items       = parseInt($recommendedproductconf.attr('data-items'));
4	var lazyload    = parseInt($recommendedproductconf.attr('data-lazyload'));
5	var speed     	= parseInt($recommendedproductconf.attr('data-speed'));
6	var autoPlay    = parseInt($recommendedproductconf.attr('data-autoplay'));
7	var time    	= parseInt($recommendedproductconf.attr('data-time'));
8	var arrow       = parseInt($recommendedproductconf.attr('data-arrow'));
9	var pagination  = parseInt($recommendedproductconf.attr('data-pagination'));
10	var move        = parseInt($recommendedproductconf.attr('data-move'));
11	var pausehover  = parseInt($recommendedproductconf.attr('data-pausehover'));
12	var md          = parseInt($recommendedproductconf.attr('data-md'));
13	var sm          = parseInt($recommendedproductconf.attr('data-sm'));
14	var xs          = parseInt($recommendedproductconf.attr('data-xs'));
15	var xxs         = parseInt($recommendedproductconf.attr('data-xxs'));
16	
17	if(autoPlay==1) {
18		if(time){
19			autoPlay = time;
20		}else{
21			autoPlay = '3000';
22		}
23	}else{
24		autoPlay = false;
25	}
26	if(lazyload){lazyload = true}else{lazyload=false}
27	if(pausehover){pausehover = true}else{pausehover=false}
28	if(move){move = false}else{move=true}
29	if(arrow){arrow =true}else{arrow=false}
30	if(pagination==1){pagination = true}else{pagination=false}
31
32	var recommendedproductslide = $(".recommended-product .recommendedproductslide");
33	recommendedproductslide.owlCarousel({
34		lazyLoad: lazyload,
35		autoplay : autoPlay ,
36		smartSpeed: speed,
37		autoplayHoverPause: pausehover,
38		addClassActive: true,
39		scrollPerPage: move,
40		nav : arrow,
41		dots : pagination,
42		responsive : {
43		    0 : {
44		        items : xxs,
45		    },
46		    480 : {
47		        items : 1,
48		    },
49			481 : {
50		        items : xs,
51		    },
52		    768 : {
53		        items : sm,
54		    },
55		    992 : {
56		        items : md,
57		    },
58		    1200 : {
59		        items : items,
60		    }
61		}
62	});
63	var recommendedproductslide_position = $(".recommended-product-position .recommendedproductslide_position");
64	recommendedproductslide_position.owlCarousel({
65		lazyLoad: lazyload,
66		autoplay : autoPlay ,
67		smartSpeed: speed,
68		autoplayHoverPause: pausehover,
69		addClassActive: true,
70		scrollPerPage: move,
71		nav : arrow,
72		dots : pagination,
73		responsive : {
74		    0 : {
75		        items : 1,
76		    },
77		    480 : {
78		        items : 1,
79		    },
80		    768 : {
81		        items : 2,
82		    },
83		    992 : {
84		        items : 1,
85		    },
86		    1200 : {
87		        items : 1,
88		    }
89		}
90	});
91
92});
93

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.