PageSourceSearch

https://artlofthotel.com/content/themes/saArtLoft/cdn/js/main.js

js artlofthotel.com collected 2026-10-09 00:01:25 UTC 10,610 bytes, 320 lines download raw bytes

1$(document).ready(function() {
2
3    
4
5
6
7
8    // gallery start
9    $("[artloft]").fancybox({
10        loop: true
11    });
12
13
14    var $grid = $('.grid').imagesLoaded(function() {
15        // init Masonry after all images have loaded
16        $grid.masonry({
17            itemSelector: '.grid-item',
18            columnWidth: 200,
19            gutter: 10,
20            fitWidth: true
21        });
22    });
23    // gallery end
24    // AOS scroll
25    AOS.init();
26    // AOS scroll end
27    // burger menu
28    var activeBurger = true;
29    $('.mob2_hamburger').on('click', function() {
30        if (activeBurger) {
31            TweenMax.to($('.mob2_hamb-middle'), 0.2, { alpha: 0 })
32            TweenMax.to($('.mob2_hamb-top'), 0.5, { top: "+=15", rotation: 45 })
33            TweenMax.to($('.mob2_hamb-bottom'), 0.5, { top: "-=5", rotation: -45 })
34            TweenMax.to($('.mob2_menu'), 0.5, { left: 0 })
35            // $('.mob2_hamburger .mob2_hamb-top, .mob2_hamburger .mob2_hamb-bottom').css('background','#fff');
36            $('body').css('overflow-y', 'hidden');
37            activeBurger = false;
38        } else {
39            TweenMax.to($('.mob2_hamb-middle'), 0.5, { alpha: 1 })
40            TweenMax.to($('.mob2_hamb-top'), 0.5, { top: "-=15", rotation: 0 })
41            TweenMax.to($('.mob2_hamb-bottom'), 0.5, { top: "+=5", rotation: 0 })
42            TweenMax.to($('.mob2_menu'), 0.5, { left: "-100%" })
43            // $('.mob2_hamburger .mob2_hamb-top, .mob2_hamburger .mob2_hamb-bottom').css('background','#333');
44            $('body').css('overflow-y', 'scroll');
45            activeBurger = true;
46        }
47    });
48    // burger menu end
49    // GMap start
50    /*
51    function initialize() {
52
53        var map_cord1 = new google.maps.LatLng(43.316693, 21.896159);
54
55        var mapCanvas = document.getElementById('map');
56        var mapOptions = {
57            center: new google.maps.LatLng(43.316693, 21.896159),
58            zoom: 18,
59            mapTypeId: google.maps.MapTypeId.ROADMAP,
60            scrollwheel: false,
61            styles: [{
62                    "featureType": "all",
63                    "elementType": "labels",
64                    "stylers": [{
65                        "visibility": "on"
66                    }]
67                },
68                {
69                    "featureType": "all",
70                    "elementType": "labels.text.fill",
71                    "stylers": [{
72                            "saturation": 36
73                        },
74                        {
75                            "color": "#000000"
76                        },
77                        {
78                            "lightness": 40
79                        }
80                    ]
81                },
82                {
83                    "featureType": "all",
84                    "elementType": "labels.text.stroke",
85                    "stylers": [{
86                            "visibility": "on"
87                        },
88                        {
89                            "color": "#000000"
90                        },
91                        {
92                            "lightness": 16
93                        }
94                    ]
95                },
96                {
97                    "featureType": "all",
98                    "elementType": "labels.icon",
99                    "stylers": [{
100                        "visibility": "off"
101                    }]
102                },
103                {
104                    "featureType": "administrative",
105                    "elementType": "geometry.fill",
106                    "stylers": [{
107                            "color": "#000000"
108                        },
109                        {
110                            "lightness": 20
111                        }
112                    ]
113                },
114                {
115                    "featureType": "administrative",
116                    "elementType": "geometry.stroke",
117                    "stylers": [{
118                            "color": "#000000"
119                        },
120                        {
121                            "lightness": 17
122                        },
123                        {
124                            "weight": 1.2
125                        }
126                    ]
127                },
128                {
129                    "featureType": "administrative.locality",
130                    "elementType": "labels.text.fill",
131                    "stylers": [{
132                        "color": "#c4c4c4"
133                    }]
134                },
135                {
136                    "featureType": "administrative.neighborhood",
137                    "elementType": "labels.text.fill",
138                    "stylers": [{
139                        "color": "#707070"
140                    }]
141                },
142                {
143                    "featureType": "landscape",
144                    "elementType": "geometry",
145                    "stylers": [{
146                            "color": "#000000"
147                        },
148                        {
149                            "lightness": 20
150                        }
151                    ]
152                },
153                {
154                    "featureType": "poi",
155                    "elementType": "geometry",
156                    "stylers": [{
157                            "color": "#000000"
158                        },
159                        {
160                            "lightness": 21
161                        },
162                        {
163                            "visibility": "on"
164                        }
165                    ]
166                },
167                {
168                    "featureType": "poi.business",
169                    "elementType": "geometry",
170                    "stylers": [{
171                        "visibility": "on"
172                    }]
173                },
174                {
175                    "featureType": "road.highway",
176                    "elementType": "geometry.fill",
177                    "stylers": [{
178                            "color": "#be2026"
179                        },
180                        {
181                            "lightness": "0"
182                        },
183                        {
184                            "visibility": "on"
185                        }
186                    ]
187                },
188                {
189                    "featureType": "road.highway",
190                    "elementType": "geometry.stroke",
191                    "stylers": [{
192                        "visibility": "off"
193                    }]
194                },
195                {
196                    "featureType": "road.highway",
197                    "elementType": "labels.text.fill",
198                    "stylers": [{
199                        "visibility": "off"
200                    }]
201                },
202                {
203                    "featureType": "road.highway",
204                    "elementType": "labels.text.stroke",
205                    "stylers": [{
206                            "visibility": "off"
207                        },
208                        {
209                            "hue": "#ff000a"
210                        }
211                    ]
212                },
213                {
214                    "featureType": "road.arterial",
215                    "elementType": "geometry",
216                    "stylers": [{
217                            "color": "#000000"
218                        },
219                        {
220                            "lightness": 18
221                        }
222                    ]
223                },
224                {
225                    "featureType": "road.arterial",
226                    "elementType": "geometry.fill",
227                    "stylers": [{
228                        "color": "#575757"
229                    }]
230                },
231                {
232                    "featureType": "road.arterial",
233                    "elementType": "labels.text.fill",
234                    "stylers": [{
235                        "color": "#ffffff"
236                    }]
237                },
238                {
239                    "featureType": "road.arterial",
240                    "elementType": "labels.text.stroke",
241                    "stylers": [{
242                        "color": "#2c2c2c"
243                    }]
244                },
245                {
246                    "featureType": "road.local",
247                    "elementType": "geometry",
248                    "stylers": [{
249                            "color": "#000000"
250                        },
251                        {
252                            "lightness": 16
253                        }
254                    ]
255                },
256                {
257                    "featureType": "road.local",
258                    "elementType": "labels.text.fill",
259                    "stylers": [{
260                        "color": "#999999"
261                    }]
262                },
263                {
264                    "featureType": "road.local",
265                    "elementType": "labels.text.stroke",
266                    "stylers": [{
267                        "saturation": "-52"
268                    }]
269                },
270                {
271                    "featureType": "transit",
272                    "elementType": "geometry",
273                    "stylers": [{
274                            "color": "#000000"
275                        },
276                        {
277                            "lightness": 19
278                        }
279                    ]
280                },
281                {
282                    "featureType": "water",
283                    "elementType": "geometry",
284                    "stylers": [{
285                            "color": "#000000"
286                        },
287                        {
288                            "lightness": 17
289                        }
290                    ]
291                }
292            ]
293
294
295        }
296        var map = new google.maps.Map(mapCanvas, mapOptions);
297        var contentString = '<div id="content">' +
298            '<img class="img-responsive" src="img/logo.png" style="width:40px;"><b>
298+381 (0)18/ 305 800 </b><br> <b>Oblačića Rada 8A/7, Niš</b>' +
299            '</div>';
300
301        var infowindow = new google.maps.InfoWindow({
302            content: contentString
303        });
304
305        var marker1 = new google.maps.Marker({
306            position: map_cord1,
307            map: map,
308            title: 'Art Loft Hotel',
309            icon: 'img/icons/pin.png',
310            animation: google.maps.Animation.BOUNCE
311        });
312
313        marker1.addListener('click', function() {
314            infowindow.open(map, marker1);
315        });
316
317    }*/
318    //google.maps.event.addDomListener(window, 'load', initialize);
319    // GMap end
320});

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.