PageSourceSearch

https://www.ictus.be/profiles/wieni/themes/wienitheme/js/script-all.js?r1m0d7

js ictus.be collected 2026-10-02 07:34:55 UTC 2,329 bytes, 85 lines download raw bytes

1(function ($) {
2
3	// Monthlist functionality
4	Drupal.behaviors.monthListFunctionality = {
5		attach: function(context, settings) {
6			$(document).ready(function(){
7			
8				var $lines = $('.month-list .event-line .line');
9				if ($lines.length) {
10					$lines.css({
11						'cursor' : 'pointer'
12					});
13					$lines.parent().find('.detail').hide();
14					$lines.click(function() {
15						$(this).parent().toggleClass('active');
16						$(this).find('.toggler').toggleClass('active');
17						$(this).parent().find('.detail').slideToggle();
18						$(this).parent().siblings().find('.detail').slideUp();
19						$(this).closest('.month').siblings().find('.event-line .detail').slideUp();
20						$(this).parent().siblings().find('.toggler').removeClass('active');
21						$(this).closest('.month').siblings().find('.toggler').removeClass('active');
22					});
23				}
24			
25			});			
26    }
27  }
28
29  // Video Popup Functionality
30	Drupal.behaviors.videoPopupFunctionality = {
31		attach: function(context, settings) {
32			$(document).ready(function(){
33			
34				if ($('.video .thumb').length) {
35					
36					$('.video .thumb').click(function() {
37			      var $box = $(this).siblings('.video-popup').addClass('active');
38			      $box.find('iframe').attr('src', $box.find('iframe').attr('src_lazy'));
39			    });
40
41			    $('.video .video-popup *').click(function() {
42			      if (!($(this).hasClass('frame') || $(this).hasClass('title'))) {
43			        var $popup = $(this).closest('.video-popup');
44			        $popup.removeClass('active');
45			        var $vid = $popup.find('.wieni-gallery-embed').remove();
46			        $popup.find('.frame').prepend($vid);
47			      }
48			      return false;
49			    });
50
51				}
52
53			});			
54    }
55  }
56
57  // Body Lang filter
58	Drupal.behaviors.bodyLangFilter = {
59		attach: function(context, settings) {
60			$(document).ready(function(){
61			
62			  $filter = $('.filter').show();
63			  
64			  if ($filter.length) {
65
66				  $langs = $filter.find('a');
67				  $bodies = $('.body .body-lang');
68
69				  $langs.eq(0).addClass('active');
70				  $bodies.hide().eq(0).show();
71				  $langs.click(filter_bodies);
72
73				}
74
75				function filter_bodies() {
76				  $bodies.hide().filter('[data-lang=' + $(this).attr('data-lang') + ']').show();
77				  $(this).addClass('active').siblings().removeClass('active');
78				  return false;
79				}
80
81			});			
82    }
83  }
84	
85})(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.