PageSourceSearch

https://whatsageek.com/wp-content/plugins/advanced-content-pagination/assets/js/jcresp.js?ver=6.9.9

js whatsageek.com collected 2026-10-02 21:44:59 UTC 2,889 bytes, 72 lines download raw bytes

1(function ($) {
2    $(function () {
3        var jcarousel = $('.jcarousel');
4
5        var hasElem = $('ul.paging_btns .active').length;
6        if (hasElem) {
7            var currentItemId = $('ul.paging_btns .active').attr('id');
8            var numCount = currentItemId.length;
9            var currentItemNum = currentItemId.substr(4, numCount - 4);
10        }
11        var animTime = 200;
12
13        jcarousel.on('jcarousel:reload jcarousel:create', function () {
14            var width = jcarousel.innerWidth();
15            var newWidth;
16            var caruselWidth = width;
17            var items = $('.jcarousel').jcarousel('items');
18            var itemCount = items.length;
19            var isNumeric = $('ul.paging_btns li').hasClass('nbox');
20            var itemsFullWidth;
21
22            if (!isNumeric) {
23                if (width < 500) {
24                    width = (width / 2) - 2;
25                } else if (width >= 500 && width <= 750) {
26                    width = width / 3;
27                } else if (width > 750) {
28                    width = width / 4;
29                }
30                width = width - 2;
31                itemsFullWidth = itemCount * width;
32                $('ul.paging_btns li.button_style').css('width', width + 'px');
33            } else {
34                var numericItemsWidth = $('ul.paging_btns li.nbox').outerWidth(true);
35                itemsFullWidth = itemCount * numericItemsWidth;
36                $('ul.paging_btns li.button_style').css('width', 'auto');
37                $('ul.paging_btns li.button_style').css('height', 'auto');
38            }
39
40            if (caruselWidth < itemsFullWidth) {
41                $('a.jcarousel-control-prev').show();
42                $('a.jcarousel-control-next').show();
43            } else {
44                $('a.jcarousel-control-prev').hide();
45                $('a.jcarousel-control-next').hide();
46            }
47
48            $('.jcarousel').hover(function () {
49                $('a.jcarousel-control-prev').animate({left: 15}, animTime);
50                $('a.jcarousel-control-next').animate({right: 15}, animTime);
51            }, function () {
52                $('a.jcarousel-control-prev').animate({left: -35}, animTime);
53                $('a.jcarousel-control-next').animate({right: -35}, animTime);
54            });
55
56            /*jcarousel.jcarousel('items').css('width', width + 'px');*/
57        }
57).jcarousel({
58            wrap: acpJcarousel.wrapType
59        });
60
61        $('.jcarousel-control-prev').click(function () {
62            $('.jcarousel').jcarousel('scroll', '-=1');
63        });
64
65        $('.jcarousel-control-next').click(function () {
66            $('.jcarousel').jcarousel('scroll', '+=1');
67        });
68        if (hasElem) {
69            $('.jcarousel').jcarousel('scroll', currentItemNum - 1);
70        }
71    });
72})(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.