PageSourceSearch

https://www.0dx.cn/application/template/pc/foiaizlPC/public/pc/js/xin.js

js 0dx.cn collected 2026-10-09 04:34:16 UTC 711 bytes, 28 lines download raw bytes

1           
2var slideIndex = 1;
3showSlides(slideIndex);
4
5function plusSlides(n) {
6  showSlides(slideIndex += n);
7}
8
9function currentSlide(n) {
10  showSlides(slideIndex = n);
11}
12
13function showSlides(n) {
14  var i;
15  var slides = document.getElementsByClassName("mySlides");
16  var dots = document.getElementsByClassName("dot");
17  if (n > slides.length) {slideIndex = 1} 
18  if (n < 1) {slideIndex = slides.length}
19  for (i = 0; i < slides.length; i++) {
20      slides[i].style.display = "none"; 
21  }
22  for (i = 0; i < dots.length; i++) {
23      dots[i].className = dots[i].className.replace(" active", "");
24  }
25  slides[slideIndex-1].style.display = "block"; 
26  dots[slideIndex-1].className += " active";
27}
28            

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.