PageSourceSearch

https://fcsiauliai.lt/wp-content/themes/5roqaso85qxxw50vdqevn280036/files/resources/js/main.js

js fcsiauliai.lt collected 2026-10-03 00:51:15 UTC 1,661 bytes, 69 lines download raw bytes

1$(function(){
2//	 https://github.com/fronteed/iCheck
3   	$('.voting-block input[type=radio]').iCheck();
4   	
5   
6   	
7    function mycarousel_initCallback(carousel) {
8        jQuery('.jcarousel-control a').bind('click', function() {
9            carousel.scroll(jQuery.jcarousel.intval(jQuery(this).data('id')));
10           
11        });
12
13        jQuery('.jcarousel-scroll select').bind('change', function() {
14            carousel.options.scroll = jQuery.jcarousel.intval(this.options[this.selectedIndex].value);
15            return false;
16        });
17
18        jQuery('#mycarousel-next').bind('click', function() {
19            carousel.next();
20            return false;
21        });
22
23        jQuery('#mycarousel-prev').bind('click', function() {
24            carousel.prev();
25            return false;
26        });
27    };
28   	
29   	jQuery(window).load(function() {
30   		
31        jQuery("#mycarousel").jcarousel({
32            scroll: 1,
33            auto: 5,
34            wrap: 'circular',
35            initCallback: mycarousel_initCallback,
36            itemLoadCallback: {
37                onBeforeAnimation: changeClass,
38            },
39            buttonNextHTML: null,
40            buttonPrevHTML: null,
41         
42
43        });
44
45    });
46   	
47   	
48    var i = 0;
49    function changeClass(carousel) {
50
51    
52        var size = carousel.options.size;
53
54        if (carousel.first <= size)
55            i = carousel.first - 1;
56        else
57        {
58            if (i >= size)
59                i = 0;
60        }
61        jQuery('.jcarousel-control a').removeClass('active');
62        jQuery('.jcarousel-control a:eq(' + i + ')').addClass('active');
63        i++;
64
65    }
66   	
67   	
68
69});

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.