PageSourceSearch

https://internationalemineralenbeurs.nl/wp-content/themes/ysd-beurswebsites/assets/js/custom.js?ver=1.5.5

js internationalemineralenbeurs.nl collected 2026-10-04 18:10:27 UTC 3,113 bytes, 99 lines download raw bytes

1/* Any custom scripts can be added here */
2
3// Test if INTERNET EXPLORER
4jQuery(document).ready(function(){
5    var ua = window.navigator.userAgent;
6    var msie = ua.indexOf("MSIE");
7    if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv\:11\./)) {
8		jQuery('html').addClass('browser-internetexplorer');
9    }
10    return false;
11});
12
13//Openingstijden Popup
14jQuery( document ).ready( function(){
15	jQuery( '.popup_openingstijden_toggle' ).find("a").click(function(){
16		jQuery('#popup_openingstijden_toggle').modal('show');
17	});
18});
19
20//Workshops unfold
21jQuery( document ).ready( function(){
22	var hash = window.location.hash.substr(1);
23	if(hash.length !== 0){
24		jQuery('.workshop-loop-item').each(function(){
25			if(jQuery(this).find('#'+hash).length !== 0){
26				jQuery(this).addClass('active');
27			}
28		});
29	}
30
31	jQuery( '.workshop-title-bar' ).click(function(){
32		jQuery('.workshop-loop-item').each(function(){
33			jQuery(this).removeClass('active');
34		});
35		jQuery( this ).parent().addClass('active');
36	});
37});
38
39//lightslider - fancybox
40jQuery( document ).ready( function(){
41	jQuery(".single .post .entry-content a").attr('data-fancybox', 'group');
42	var slider = $("#lightSlider").lightSlider({
43	      item: 1,
44	      pager: false,
45	      galleryMargin: 0,
46		  slideMargin: 1,
47		  adaptiveHeight: true
48	    });
49
50		$('#goToPrevSlide').click(function(){
51	        slider.goToPrevSlide(); 
52	    });
53	    $('#goToNextSlide').click(function(){
54	        slider.goToNextSlide(); 
55	    });
56
57	jQuery(".show_more").click( function(){ 
58		console.log("click");
59		jQuery(this).siblings(".qa-faqs").toggleClass("active");
60		if(jQuery(this).text() == jQuery(this).data("normal")){
61			jQuery(this).text(jQuery(this).data("active"));
62		}else{
63			jQuery(this).text(jQuery(this).data("normal"));
64		}
65	});
66
67	//Workshop filters
68	jQuery('.isotope-filter-button-group button').click( function() {
69		var filterValue = jQuery(this).attr('data-filter');
70		jQuery('.sc-workshop .workshop-loop-item').each(function() {
71			if (filterValue === '*') { jQuery(this).show(); }
72			else if (jQuery(this).hasClass(filterValue)) { jQuery(this).show(); }
73			else { jQuery(this).hide(); }
74		});
75	});
76
77	$( ".qa-faq-anchor" ).click(function() {
78		var thisnot = $(this).next( ".fa-chevron-right" );
79		$( ".fa-chevron-right" ).not(thisnot).removeClass( 'rotate' );
80		$( ".fa-chevron-right" ).not(thisnot).addClass( 'norotate' );
81		$( this ).next( ".fa-chevron-right" ).toggleClass( 'rotate' );
82		$( this ).next( ".fa-chevron-right" ).toggleClass( 'norotate' );
83		$(".qa-faqs").removeClass("active");
84		$(".show_more").text($(".show_more").data("normal"));
85		$( this ).parents(".qa-faqs").addClass("active");
86
87		console.log($( this ).parents(".textwidget").html());
88		var link = $( this ).parents(".textwidget").find(".show_more");
89		if(link.text() == link.data("normal")){
90			link.text(link.data("active"));
91		}else{
92			link.text(link.data("normal"));
93		}
94	});
95});
96
97jQuery(document).ready(function(){
98	jQuery("#sticky-navigation").sticky({topSpacing:0});
99});

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.