PageSourceSearch

https://www.tgchemical.com/Web/Frontend/Scripts/pic-slide.js

js tgchemical.com collected 2026-10-04 13:28:42 UTC 1,240 bytes, 24 lines download raw bytes

1$(document).ready(function () {
2    for (i = 0; i < $(".pic-slide-box").length; i++) {
3        $(".pic-slide-box").eq(i).find(".pic-slide-img").hide().eq(0).show();
4    }
5    setTimeout(StartPicSlide, 0);
6});
7
8function StartPicSlide() { PicSlide1(); }
9function PicSlide1() { setTimeout(function() { PicSlide(0); PicSlide2(); }, 3000); }
10function PicSlide2() { setTimeout(function() { PicSlide(1); PicSlide3(); }, 3000); }
11function PicSlide3() { setTimeout(function() { PicSlide(2); PicSlide4(); }, 3000); }
12function PicSlide4() { setTimeout(function() { PicSlide(3); PicSlide5(); }, 3000); }
13function PicSlide5() { setTimeout(function() { PicSlide(4); PicSlide6(); }, 3000); }
14function PicSlide6() { setTimeout(function() { PicSlide(5); EndPicSlide(); }, 3000); }
15function EndPicSlide() { setTimeout(StartPicSlide, 1000); }
16
17function PicSlide(index) {
18    var $active = $(".pic-slide-box:eq(" + index + ") .pic-slide-img:visible");
19    if ($active.length == 0) $active = $(".pic-slide-box:eq(" + index + ") .pic-slide-img:last");
20    var $next = $active.next().length ? $active.next() : $(".pic-slide-box:eq(" + index + ") .pic-slide-img:first");
21
22    $active.fadeOut(1000).delay(1000);
23    $next.fadeIn(1000);
24}

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.