PageSourceSearch

https://www.ffgym-regionsud.fr/wp-content/themes/blaskan/assets/js/scripts.js?ver=20151215

js ffgym-regionsud.fr collected 2026-10-10 00:02:41 UTC 2,313 bytes, 97 lines download raw bytes

1( function( $ ) {
2
3
4$(document).ready(function(){
5
6	var content = '';
7	// instanciate new modal
8	var modal = new tingle.modal({
9			footer: true,
10			stickyFooter: false,
11			closeMethods: ['overlay', 'button', 'escape'],
12			closeLabel: "Fermer",
13			cssClass: ['custom-class-1', 'custom-class-2'],
14			onOpen: function() {
15					console.log('modal open');
16			},
17			onClose: function() {
18					console.log('modal closed');
19			},
20			beforeClose: function() {
21					// here's goes some logic
22					// e.g. save content before closing the modal
23					return true; // close the modal
24					//return false; // nothing happens
25			}
26	});
27
28	$.get( "/login/?inc=1", function( data ) {
29		//$( ".result" ).html( data );
30		content = data;
31		//console.log(data);
32		// set content
33		modal.setContent(content);
34
35	});
36
37	$('.swiper-link').click( function(){
38		console.log(this);
39		window.location = $(this).attr('href');
40	});
41
42	$('.footer-slider .footer-slider-toggle').click(function(){
43		$('.footer-slider').toggleClass('footer-slider-opened');
44	});
45
46	// add a button
47	modal.addFooterBtn('Annuler', 'tingle-btn pull-right tingle-btn--danger', function() {
48			// here goes some logic
49			modal.close();
50	});
51
52	$('.open-login').click( function(){
53		modal.open();
54	});
55
56
57	$('.dropdown-toggle').dropdown();
58
59	if ( $('.mansonry-posts #main .row > article').length > 1 ) {
60/*
61		$('.mansonry-posts #main .row').imagesLoaded(function () {
62
63			$('.mansonry-posts #main .row').masonry({
64				itemSelector: '.post',
65				percentPosition: true,
66				columnWidth: '.col-md-6'
67			});
68
69	    });
70
71		// Triggers re-layout on infinite scroll
72		infinite_count = 0;
73	    $( document.body ).on( 'post-load', function () {
74	    	infinite_count = infinite_count + 1;
75	    	var $selector = $('#infinite-view-' + infinite_count);
76	    	var $elements = $selector.find('.hentry');
77			var $container = $('.mansonry-posts #main .row');
78			$container.imagesLoaded(function () {
79				$selector.remove();
80				$container.append( $elements );
81				$container.masonry( 'appended', $elements, true );
82				$container.masonry();
83			});
84	    });
85*/
86	}
87
88	$('.top-header .search .search-form label').click(function( evt ){
89		evt.stopPropagation();
90		evt.preventDefault();
91		$('.top-header .search').toggleClass( 'active' );
92		$('.top-header #search').focus();
93	});
94
95});
96
97} )( 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.