PageSourceSearch

https://museumlandorundun.com/profil/js/script.js

js museumlandorundun.com collected 2026-10-09 04:45:37 UTC 5,820 bytes, 196 lines download raw bytes

1/*
2Template Name: Probiz
3Author: TrendyTheme
4Version: 1.0
5*/
6
7(function () {
8
9	"use strict"; // use strict to start
10
11	$(document).ready(function () {
12
13
14        /* ======= Preloader ======= */
15        (function () {
16            $('#status').fadeOut();
17            $('#preloader').delay(200).fadeOut('slow');
18        }());
19
20
21
22
23        $(function() {
24            var list = $('.top-bar-address-list .nav-tabs ul');
25            var link = $('.top-bar-address-list .nav-tabs > li > a');
26
27            list.find('li > a').click(function() {
28                var text = $(this).html();
29                var icon = '<span class="fa fa-caret-down"></span>';
30                link.html(text+icon);
31            });
32        });
33
34
35        /* === Topbar visibility toggle in small devices === */
36        if($('.tt-toggle-bar').length > 0){
37
38            $(".tt-toggle-bar").click(function(){
39                $(".top-bar").toggle();
40            });
41        }
42
43
44
45        /* === Full Screen Banner === */
46        $(window).on('resizeEnd', function () {
47            $(".fullscreen-banner").height($(window).height());
48        });
49
50        $(window).resize(function () {
51            if (this.resizeTO) clearTimeout(this.resizeTO);
52            this.resizeTO = setTimeout(function () {
53                $(this).trigger('resizeEnd');
54            }, 300);
55        }).trigger("resize");
56
57
58
59        /* === Detect IE version === */
60        (function () {
61
62            function getIEVersion() {
63                var match = navigator.userAgent.match(/(?:MSIE |Trident\/.*; rv:)(\d+)/);
64                return match ? parseInt(match[1], 10) : false;
65            }
66
67            if( getIEVersion() ){
68                $('html').addClass('ie'+getIEVersion());
69            }
70
71        }());
72
73
74
75        /* ======= Stellar for background scrolling ======= */
76        if ($('.parallax-bg').length > 0) {
77            $('.parallax-bg').imagesLoaded( function() {
78
79                $(window).stellar({
80                    horizontalScrolling: false,
81                    verticalOffset: 0,
82                    horizontalOffset: 0,
83                    responsive: true,
84                    hideDistantElements: true
85                });
86            });
87        }
88
89
90
91		//fun fact
92		$('.tt-count').on('inview', function(event, visible, visiblePartX, visiblePartY) {
93            if (visible) {
94                    $(this).find('.timer').each(function () {
95                        var $this = $(this);
96                        $({ Counter: 0 }).animate({ Counter: $this.text() }, {
97                          duration: 2000,
98                          easing: 'swing',
99                          step: function () {
100                              $this.text(Math.ceil(this.Counter));
101                            }
102                        });
103                    });
104                $(this).off('inview');
105            }
106        });
107
108    	if($('.swiper-container').length > 0){
109    		var swiper = new Swiper('.swiper-container', {
110            pagination: '.swiper-pagination',
111            nextButton: '.swiper-button-next',
112            prevButton: '.swiper-button-prev',
113            slidesPerView: 4,
114            slidesPerColumn: 2,
115            // slidesPerGroup: 8,
116            // paginationClickable: true,
117            // spaceBetween: 10,
118            // loop: true,
119            // breakpoints: {
120            //   720: {
121            //     slidesPerView: 1,
122            //     spaceBetween: 30
123            //   }
124            // }
125          });
126    	}
127
128
129
130        /* ======= Contact Form ======= */
131        $('#contactForm').on('submit',function(e){
132
133            e.preventDefault();
134
135            var $action = $(this).prop('action');
136            var $data = $(this).serialize();
137            var $this = $(this);
138
139            $this.prevAll('.alert').remove();
140
141            $.post( $action, $data, function( data ) {
142
143                if( data.response=='error' ){
144
145                    $this.before( '<div class="alert danger-border"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button> <i class="fa fa-times-circle"></i> '+data.message+'</div>' );
146                }
147
148                if( data.response=='success' ){
149
150                    $this.before( '<div class="alert success-border"><button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button><i class="fa fa-thumbs-o-up"></i> '+data.message+'</div>' );
151                    $this.find('input, textarea').val('');
152                }
153
154            }, "json");
155
156        });
157
158
159
160
161		//popup video
162		if ($('.popup-video').length > 0) {
163            $('.popup-video').magnificPopup({
164                disableOn: 700,
165                type: 'iframe',
166                mainClass: 'mfp-fade',
167                removalDelay: 160,
168                preloader: false,
169                fixedContentPos: false
170            });
171        }
172
173        /* === blogGrid === */
174        if ($('.blog-grid').length > 0) {
175
176            var $grid = $('.blog-grid').imagesLoaded( function() {
177              // init Masonry after all images have loaded
178              $grid.masonry({
179                itemSelector: '.blog-item',
180              });
181            });
182        }
183
184        /* === Progress Bar === */
185        $('.progress').on('inview', function(event, visible, visiblePartX, visiblePartY) {
186          if (visible) {
187            $.each($('div.progress-bar'),function(){
188              $(this).css('height', $(this).attr('aria-valuenow')+'%');
189            });
190            $(this).off('inview');
191          }
192        });
193	});
194
195
196})(jQuery);

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.