PageSourceSearch

https://akks.no/wp-content/themes/flex-child/assets/js/frontpageslider.js?ver=1.0

js akks.no collected 2026-10-04 13:33:55 UTC 1,541 bytes, 51 lines download raw bytes

1jQuery(function($) {
2
3    var sliders = new idiumSlider($);
4    sliders.addSliders('.cycle-slideshow');
5
6    function idiumSlider($) {
7
8        this.addSliders = function (slidersSelector) {
9            $(slidersSelector).each(function() {
10                $(this).cycle({
11                    slides: '> div.slide',
12                    prev: '.btn-prev',
13                    next: '.btn-next',
14                    pager: '.cycle-pager ul',
15                    //pagerTemplate: '<li><a href="#"></a></li>',
16                    pagerActiveClass: 'active'
17                });
18
19                initPauseButton(this);
20            });
21        }
22
23        var initPauseButton = function (selector) {
24            if($(selector).data('show-pause-button')) {
25                $('.btn-pause', selector).on('click', function(event) {
26                    event.preventDefault();
27
28                    if($(this).hasClass('fa-pause')) {
29                        $(this).removeClass('fa-pause').addClass('fa-play');
30                        $(selector).cycle('pause');
31                    } else {
32                        $(this).removeClass('fa-play').addClass('fa-pause');
33                        $(selector).cycle('resume');
34                    }
35                });
36            }
37        }
38    }
39	
40	
41	$( "#idium-cookies-notification-show" ).click(function() {
42		console.log('test');
43		var el = document.querySelector('#idium-cookies-notification-modal');
44		el.scrollTop = el.scrollHeight;
45
46		setTimeout(function(){
47		  el.scrollTop = 0;
48		}, 100);
49	});
50
51});

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.