PageSourceSearch

https://kubbc1915.com/type/entry/js/slider.js

js kubbc1915.com collected 2026-10-04 04:03:06 UTC 2,183 bytes, 35 lines download raw bytes

1function onChangeTab() {
2    $("#tab_contents").find('.tab_content').show();;
3    var e, t, n;
4    $(".tab_name").click(function() {
5        var e;
6        return $("#tab").children().removeClass("active"), $(this).addClass("active"), e = $(".tab_name").index(this), $("#tab_contents").children().removeClass("active"), $("#tab_contents").find(".tab_content").eq(e).addClass("active")
7    }), $(".fitting_img").each(function() {
8        var e, t, n, r, i, s, o, u;
9        return r = $(this).parent().innerHeight(), i = $(this).parent().innerWidth(), n = i / r, o = $(this).height(), u = $(this).width(), s = u / o, s > n ? (t = u * r / o, $(this).css({position: "absolute", left: "50%", top: "50%", height: r, width: t, marginLeft: -t / 2, marginTop: -r / 2})) : (e = o * i / u, $(this).css({position: "absolute", left: "50%", top: "50%", width: i, height: e, marginLeft: -i / 2, marginTop: -e / 2}))
10    }), $("body").hasClass("page-index") && (n = [], n.content = $("#slider"), n.thumbnails = $("#thumbnails"), n.setting = {mode: "fade", auto: !0, autoStart: !0, controls: !1, pagerCustom: n.thumbnails}, n.content.bxSlider(n.setting), e = [], e.contents = $("#tab_contents").find(".games"), e.setting = {controls: !1, pager: !1, infiniteLoop: !1, slideWidth: 250, minSlides: 2, maxSlides: 4, moveSlides: 1, slideMargin: 7}, e.contents.each(function() {
11        var t;
12        return t = $(this).bxSlider(e.setting), $(this).parents(".team").find(".control_left").click(function() {
13            return t.goToPrevSlide()
14        }), $(this).parents(".team").find(".control_right").click(function() {
15            return t.goToNextSlide()
16        })
17    })), $("body").hasClass("page-about") && (t = 0, $("#tab_contents").find(".tab_content").each(function() {
18        var e;
19        e = $(this).height();
20        if (t < e)
21            return t = e
22    }), $("#tab_contents").height(t));
23    if ($("body").hasClass("page-player"))
24        return $("#thumbnails a").colorbox()
25}
26$(window).load(onChangeTab);
27$(function(){
28    onChangeTab();
29    $('#tab > div:eq(0)').click();
30    $('.games').slick({
31        slidesToShow:4,
32        autoplay:false,
33        infinite:false
34    });
35});

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.