PageSourceSearch

https://minibrowarkoszalin.pl/js/script.js

js minibrowarkoszalin.pl collected 2026-10-09 04:03:36 UTC 2,742 bytes, 109 lines download raw bytes

1function include(url){
2  document.write('<script src="'+url+'"></script>');
3  return false ;
4}
5
6/* cookie.JS
7========================================================*/
8include('js/jquery.cookie.js');
9
10
11/* DEVICE.JS
12========================================================*/
13include('js/device.min.js');
14
15/* Stick up menu
16========================================================*/
17include('js/tmstickup.js');
18$(window).load(function(){
19  $('#stuck_container').TMStickUp({
20  })
21});
22
23/* Easing library
24========================================================*/
25include('js/jquery.easing.1.3.js');
26
27
28/* ToTop
29========================================================*/
30include('js/jquery.ui.totop.js');
31$(function () {   
32  $().UItoTop({ easingType: 'easeOutQuart' });
33});
34
35
36
37/* DEVICE.JS AND SMOOTH SCROLLIG
38========================================================*/
39include('js/jquery.mousewheel.min.js');
40include('js/jquery.simplr.smoothscroll.min.js');
41$(function () { 
42  if ($('html').hasClass('desktop')) {
43      $.srSmoothscroll({
44        step:150,
45        speed:800
46      });
47  }   
48});
49
50
51/* Copyright Year
52========================================================*/
53var currentYear = (new Date).getFullYear();
54$(document).ready(function() {
55  $("#copyright-year").text( (new Date).getFullYear() );
56});
57
58
59/* Superfish menu
60========================================================*/
61include('js/superfish.js');
62include('js/jquery.mobilemenu.js');
63
64
65/* Orientation tablet fix
66========================================================*/
67$(function(){
68// IPad/IPhone
69	var viewportmeta = document.querySelector && document.querySelector('meta[name="viewport"]'),
70	ua = navigator.userAgent,
71
72	gestureStart = function () {viewportmeta.content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6, initial-scale=1.0";},
73
74	scaleFix = function () {
75		if (viewportmeta && /iPhone|iPad/.test(ua) && !/Opera Mini/.test(ua)) {
76			viewportmeta.content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0";
77			document.addEventListener("gesturestart", gestureStart, false);
78		}
79	};
80	
81	scaleFix();
82	// Menu Android
83	if(window.orientation!=undefined){
84  var regM = /ipod|ipad|iphone/gi,
85   result = ua.match(regM)
86  if(!result) {
87   $('.sf-menu li').each(function(){
88    if($(">ul", this)[0]){
89     $(">a", this).toggle(
90      function(){
91       return false;
92      },
93      function(){
94       window.location.href = $(this).attr("href");
95      }
96     );
97    } 
98   })
99  }
100 }
101});
102var ua=navigator.userAgent.toLocaleLowerCase(),
103 regV = /ipod|ipad|iphone/gi,
104 result = ua.match(regV),
105 userScale="";
106if(!result){
107 userScale=",user-scalable=0"
108}
109document.write('<meta name="viewport" content="width=device-width,initial-scale=1.0'+userScale+'">')

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.