PageSourceSearch

https://www.saojosecuritiba.com.br/galeria/galeria-carousel/js/jcarousel.responsive.js

js saojosecuritiba.com.br collected 2026-10-08 09:38:14 UTC 1,578 bytes, 49 lines download raw bytes

1(function($) {
2    $(function() {
3        var jcarousel = $('.jcarousel');
4        //if(jcarousel.find('li').length >=5){
5            jcarousel
6                .on('jcarousel:reload jcarousel:create', function () {
7                    var width = jcarousel.innerWidth();
8
9                    if (width >= 600) {
10                        width = width / 3;
11                    } else if (width >= 350) {
12                        width = width / 2;
13                    }
14
15                    jcarousel.jcarousel('items').css('width', width + 'px');
16                })
17                .jcarousel({
18                    wrap: 'circular'
19            });
20
21            $('.jcarousel-control-prev')
22                .jcarouselControl({
23                    target: '-=1'
24            });
25
26            $('.jcarousel-control-next')
27                .jcarouselControl({
28                    target: '+=1'
29            });
30
31            $('.jcarousel-pagination')
32                .on('jcarouselpagination:active', 'a', function() {
33                    $(this).addClass('active');
34                })
35                .on('jcarouselpagination:inactive', 'a', function() {
36                    $(this).removeClass('active');
37                })
38                .on('click', function(e) {
39                    e.preventDefault();
40                })
41                .jcarouselPagination({
42                    perPage: 1,
43                    item: function(page) {
44                        return '<a href="#' + page + '">' + page + '</a>';
45                    }
46            });
47        //}
48    });
49})(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.