PageSourceSearch

https://www.kosmetikstudio-isabella.ch/wp-content/themes/magnum/js/custom.js?ver=1454509588

js kosmetikstudio-isabella.ch collected 2026-10-05 19:43:41 UTC 3,454 bytes, 183 lines download raw bytes

1(function($){
2	'use strict';
3
4	$(function(){
5
6		$( '.social-footer.transparent a i' ).addClass( 'big white' ).removeClass( 'light' );
7
8		if ( $( '.peThemeContactForm' ).length > 0 ) {
9
10			$( '.peThemeContactForm' ).peThemeContactForm();
11
12		}
13
14		$( '.row-fluid.post-pagination' ).addClass( 'row' );
15		$( '.post-pagination .span12' ).addClass( 'twelve columns' );
16
17		$( '.post-pagination' ).before( '<div class="clearfix"></div>' );
18
19		var $menu_wrap = $( '.menu-wrap' );
20
21		$menu_wrap.find( '> a.smoothscroll img' ).addClass( 'menu-logo' );
22		$menu_wrap.children( 'ul' ).addClass( 'menu' );
23
24
25		$( window ).load( function() {
26
27			// Preloader
28			$( '#status' ).fadeOut(); // will first fade out the loading animation
29			$( '#preloader' ).delay( 350 ).fadeOut( 'slow' ); // will fade out the white DIV that covers the website.
30			$( 'body' ).delay( 350 ).css({ 'overflow-y':'visible' });
31
32		});
33
34		// back to top button
35		$( '.back-to-top' ).each( function() {
36
37			var $this = $( this ),
38				target = $( 'body > section' ).first();
39
40			if ( ! target.length ) retun;
41
42			$this.attr( 'href', '#' + target.attr( 'id' ) );
43
44		});
45
46		$('.popup-gallery').each( function() {
47
48			var $this = $( this );
49
50			$this.magnificPopup({ 
51				type: 'image',
52				delegate: 'a',
53				gallery:{
54					enabled:true
55				},
56				fixedContentPos: false,
57				fixedBgPos: false,
58				mainClass: 'mfp-no-margins mfp-with-zoom',
59				image: {
60					verticalFit: true
61				},
62				zoom: {
63					enabled: true,
64					duration: 300
65				}
66			});
67
68		});
69
70		$( '.popup-gallery' ).each( function() {
71
72			var $this = $( this );
73
74			$this.magnificPopup({ 
75				type: 'image',
76				delegate: 'a',
77				gallery:{
78					enabled:true
79				},
80				fixedContentPos: false,
81				fixedBgPos: false,
82				mainClass: 'mfp-no-margins mfp-with-zoom',
83				image: {
84					verticalFit: true
85				},
86				zoom: {
87					enabled: true,
88					duration: 300
89				}
90			});
91
92		});
93
94		$( '.dolightbox.single-gallery' ).each( function() {
95
96			var $this = $( this );
97
98			$this.magnificPopup({ 
99				type: 'image',
100				delegate: 'a',
101				gallery:{
102					enabled:true
103				},
104				fixedContentPos: false,
105				fixedBgPos: false,
106				mainClass: 'mfp-no-margins mfp-with-zoom',
107				image: {
108					verticalFit: true
109				},
110				zoom: {
111					enabled: true,
112					duration: 300
113				}
114			});
115
116		});
117
118		$('.equal').children('.columns').equalizeHeight();
119
120		$( window ).resize( function() {
121			$( '.equal' ).children( '.columns' ).equalizeHeight();
122
123			setTimeout( function() {
124
125				$( '.equal' ).children( '.columns' ).equalizeHeight();
126
127			}, 100 );
128
129			setTimeout( function() {
130
131				$( '.equal' ).children( '.columns' ).equalizeHeight();
132
133			}, 400 );
134
135			setTimeout( function() {
136
137				$( '.equal' ).children( '.columns' ).equalizeHeight();
138
139			}, 1400 );
140
141			setTimeout( function() {
142
143				$( '.equal' ).children( '.columns' ).equalizeHeight();
144
145			}, 2400 );
146
147		});
148
149		setTimeout( function() {
150
151				$( window ).trigger( 'resize scroll' );
152
153		}, 1000 );
154
155		setTimeout( function() {
156
157				$( window ).trigger( 'resize scroll' );
158
159		}, 3000 );
160
161		$( window ).load( function() {
162			$( '.equal' ).children( '.columns' ).equalizeHeight();
163
164			$( window ).trigger( 'resize scroll' );
165
166			setTimeout( function() {
167
168				$( '.equal' ).children( '.columns' ).equalizeHeight();
169
170			}, 1000 );
171
172			setTimeout( function() {
173
174				$( '.equal' ).children( '.columns' ).equalizeHeight();
175
176			}, 1300 );
177		})
178
179		$( '.sub-menu' ).addClass( 'dropdown-menu' );
180
181	});
182
183})(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.