PageSourceSearch

https://17ic.com/themes/default/js/cxjc0.js

js 17ic.com collected 2026-10-04 02:40:15 UTC 2,983 bytes, 100 lines download raw bytes

1(function($) {
2    $.fn.textSlider = function(settings) {
3        settings = $.extend({
4            direc: 1,
5            fri: 0,
6            fris: 0,
7            speed: "normal",
8            lines: 1,
9            qnum: 1,
10            offset: 1000
11        },
12        settings);
13        return this.each(function() {
14            $.fn.textSlider.scllor($(this), settings)
15        }) 
16    };
17    $.fn.textSlider.scllor = function($this, settings) {
18        var li = $(".cxjli", $this);
19        var ul = $(".cxjinfo", $this);
20        var uls = $(".cxjitem", $this);
21        var ulw = uls.width() * -1;
22        var ulh = uls.height() * -1;
23        var i = -settings.lines;
24        var timer = null;
25        var shumu = $(uls).size();
26        function autoroll() {
27            i += settings.lines;
28            if (i > shumu - settings.qnum - settings.fris) {
29                i = -settings.fris
30            }
31            slide(i);
32            timer = window.setTimeout(autoroll, settings.offset)
33        };
34        function slide(i) {
35            if (settings.direc == 1) {
36                ul.css({
37                    "width": shumu * -ulw
38                });
39                ul.animate({
40                    left: ulw * i - settings.fri
41                },
42                settings.speed)
43            }
44			if (settings.direc == 5) {
45                if (shumu % 2 == 1) {
46                    shumu = shumu + 1
47                };
48                ul.css({
49                    "width": (shumu * -ulw) / 2
50                });
51                ul.animate({
52                    left: ulw * i / 2
53                },
54                settings.speed)
55            }
56            if (settings.direc == 2) {
57                ul.animate({
58                    top: ulh * i
59                },
60                settings.speed)
61            }
62            if (settings.direc == 3) {
63                uls.hide();
64                uls.eq(i).show()
65            }
66            if (settings.direc == 4) {
67                uls.hide();
68                uls.eq(i).fadeIn().show()
69            }
70            li.eq(i / settings.lines).addClass('visited').siblings().removeClass('visited')
71        };
72        li.hover(function() {
73            if (timer) {
74                clearTimeout(timer);
75                i = $(this).prevAll().length * settings.lines;
76                slide(i)
77            }
78        },
79        function() {
80            timer = window.setTimeout(autoroll, settings.offset);
81            this.blur();
82            return false
83        });
84        $('.up', $this).click(function() {
85            i += settings.lines;
86            if (i > shumu - settings.qnum - settings.fris) {
87                i = -settings.fris
88            }
89            slide(i)
90        });
91        $('.down', $this).click(function() {
92            i -= settings.lines;
93            if (i < -settings.fris) {
94                i = shumu - settings.qnum - settings.fris
95            }
96            slide(i)
97        });
98        autoroll()
99    }
100})(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.