PageSourceSearch

https://y-touch.com/_index/js/script.js?v2

js y-touch.com collected 2026-10-07 02:29:11 UTC 1,186 bytes, 51 lines download raw bytes

1var timerId;
2
3$(function(){
4
5	//電光掲示板
6	var elem_dd   = $("#topMarquee dd");
7	var elem_dd_w = elem_dd.width();
8	var elem_p    = elem_dd.find("p");
9	var elem_p_w  = elem_p.width();
10	var marquee = function(){
11		elem_p.css("margin-left", elem_dd_w+"px");
12		elem_p.animate({"margin-left": "-"+elem_p_w+"px"}, 18000, "linear", marquee);
13	}
14	marquee();
15
16	//動画
17	var movieslide = function(){
18		if($("li.active").length <= 0){;
19			$("#topTV li").hide();
20			$("#topTV li:first").addClass("active").show();
21//			$("li").hover(
22//				function(){
23//					clearInterval(timerId);
24//					$("#topTV li").stop(true, true);
25//				},
26//				function(){
27//					movieslide();
28//				}
29//			);
30		}
31
32		timerId = setInterval(function(){
33 			var act = $("#topTV li.active");
34			var nxt = act.next("li").length ? act.next("li") : $("#topTV li:first");
35			act.animate({opacity:"hide"}, {duration: 1000}).removeClass("active");
36			nxt.animate({opacity:"show"}, {duration: 1000}).addClass("active");
37		}, 3500);
38
39	}
40	movieslide();
41
42	var owl = $("#slide-item");
43	owl.owlCarousel({
44		items: 1,
45		loop: true,
46		autoplay: true,
47		autoplayTimeout: 5000,
48		autoplayHoverPause: true,
49		smartSpeed: 500,
50	});
51});

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.