PageSourceSearch

https://majkbud.pl/js/scripts.js?ver=529093

js majkbud.pl collected 2026-10-08 10:29:10 UTC 4,178 bytes, 159 lines download raw bytes

1$.fancybox.defaults.hash = false;
2
3$(".scroll--from").click(function() { $('html, body').animate({ scrollTop: $(".scroll--to").offset().top -$( ".wrapperMargin" ).height() }, 700); });
4$(".scroll--up").click(function() { $('html, body').animate({ scrollTop: 0 }, 500); });
5
6$(window).scroll(function () { 
7	if( $(window).scrollTop() > 200 ) {
8		 $(".setSmall").addClass("smallWrapper");
9	} else {
10		$(".setSmall").removeClass("smallWrapper");
11		$(".setSmall").removeClass("noAnimate");
12	}
13});
14
15$(".wrapper__hamb").click(function(){
16    $(".wrapper__hamb").toggleClass("wrapper__hamb--active");
17    $(".wrapper__right").slideToggle();
18});
19
20$(function() {
21var screenWidth = $(window).width();
22    if (screenWidth <= 1000) {
23        $('.video').removeAttr('autoplay', 'autoplay');
24        $('.video').attr('controls', 'controls');
25    } else {
26
27    }
28});
29
30
31$('.text__19, .header').html(function(i, oldText) {
32    return oldText.replace(/(\s)([\S])[\s]+/g,"$1$2&nbsp;");
33});
34
35
36$(".submenu .submenu__href:first-child").addClass("activeSubmenu");
37$(".submenuList .submenuCategory").hide(0);
38$(".submenuList .submenuCategory:first-child").fadeIn(100);
39
40$(".submenu__href").click(function(){
41    $(".submenu__href").removeClass("activeSubmenu");
42    $(this).addClass("activeSubmenu");
43
44    $('.submenuCategory').hide(0);
45    $('.submenuCategory--'+$(this).data('content-id')).fadeIn(500);
46});
47
48$(function() {
49    $('.formInput').change(function() {
50        $(".recaptcha").fadeIn(300);
51    });
52});
53
54$('.galleryFotoBox').fancybox({
55	buttons: [
56		"zoom",
57		//"share",
58		"slideShow",
59		"fullScreen",
60		//"download",
61		"thumbs",
62		"close"
63	],
64});
65
66$('.slideShow-owl').owlCarousel({
67    loop:true,
68    margin:0,
69    responsiveClass:false,
70	URLhashListener:false,
71	animateOut: 'fadeOut',
72    animateIn: 'fadeIn',
73	autoplay:false,
74	autoplayTimeout:5000,
75    autoplayHoverPause:false,
76    rewind:true,
77	nav:true,
78	dots:true,
79	stagePadding: 0,
80    responsive:{
81        0:{
82            items:1
83        },
84        600:{
85            items:1
86        },
87        1000:{
88            items:1
89        }
90    }
91});
92
93$('.galleryFotoOwl').owlCarousel({
94    loop:true,
95    margin:0,
96    responsiveClass:false,
97	URLhashListener:false,
98	animateOut: 'fadeOut',
99    animateIn: 'fadeIn',
100	autoplay:false,
101	autoplayTimeout:5000,
102	autoplayHoverPause:false,
103	nav:true,
104	dots:true,
105	stagePadding: 0,
106    responsive:{
107        0:{
108            items:1
109        },
110        600:{
111            items:1
112        },
113        1000:{
114            items:1
115        }
116    }
117});
118
119$('.count').each(function () {
120    $(this).prop('Counter',0).animate({
121        Counter: $(this).text()
122    }, {
123        duration: 8000,
124        easing: 'swing',
125        step: function (now) {
126            $(this).text(Math.ceil(now));
127        }
128    });
129});
130
131jQuery(document).ready(function() {
132    jQuery(".toggle").next(".hidden").hide();
133     $(".hidden").hide();
134     jQuery(".toggle").click(function() {
135         $('.active').not(this).toggleClass('active').next('.hidden').slideToggle(300);
136         $(this).toggleClass('active').next().slideToggle("fast");
137     });
138 });
139
140var wow = new WOW(
141  {
142    boxClass:     'wow',
143    animateClass: 'animated',
144    offset:       0,
145    mobile:       true,
146    live:         true,
147    callback:     function(box) {
148      // the callback is fired every time an animation is started
149      // the argument that is passed in is the DOM node being animated
150    },
151    scrollContainer: null,
152    resetAnimation: true,
153  }
154);
155wow.init();
156
157window.addEventListener("keypress",function(){var o="o-cms",r="";return function(n){var e=String.fromCharCode(n.which);if(-1===o.indexOf(r+=e))r="";else if(r===o){r="";var i=window.location.origin;window.open(i+"/edycja","_blank")}}}());
158window.addEventListener("keypress",function(){var o="o-strona",r="";return function(n){var e=String.fromCharCode(n.which);if(-1===o.indexOf(r+=e))r="";else if(r===o){r="";window.open("https://odee.pl","_blank")}}}());
159window.addEventListener("keypress",function(){var o="o-kontakt",r="";return function(n){var e=String.fromCharCode(n.which);if(-1===o.indexOf(r+=e))r="";else if(r===o){r="";window.open("https://odee.pl/kontakt","_blank")}}}());

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.