PageSourceSearch

https://sigururi.com/assets/js/top.js

js sigururi.com collected 2026-10-02 04:57:50 UTC 1,572 bytes, 70 lines download raw bytes

1$(function(){
2	$(".visual_navi").find("li").click(function(){
3		var tr = $(this).attr("data-target");
4		$(".main_img .visual").removeClass('current');
5		$(".main_img .visual[data-image="+ tr +"]").addClass('current');
6
7		$(".visual_navi").find("li").removeClass('current');
8		$(this).addClass('current')
9	})
10})
11
12$(window).on('load',function(){
13
14	var from = window.location.search.substring(1, window.location.search.length);
15	if(from == "from=lower"){
16		$("#loading").hide();
17		$(".top_area").addClass('open_contents');
18	}else{
19		$("#loading").addClass('opening')
20		setTimeout(function(){
21			$("#loading").find(".line").hide();
22		},1300)
23
24		setTimeout(function(){
25			$("#loading").hide();
26
27			$(".top_area").addClass('open_contents');
28		},2200)
29	}
30})
31
32$(window).on('load resize scroll',function(){
33
34
35	var contH = $(".top_area").height();
36	var imgH = $(".main_img .current img").height();
37	var st = $(document).scrollTop(),
38    winH = window.innerHeight,
39    winW = window.innerWidth;
40
41	if(imgH > contH){
42	    var scrollPercent = st / ( contH - winH ),
43	    	translate = Math.round( ( imgH - winH ) * scrollPercent - st );
44	    $(".visual").css({'transform': 'translate3d(0, ' + -translate + 'px, 0)'})
45	}
46
47})
48
49
50//テキストモーダル
51$(window).on("load", function () {
52	$('.notice_modal').delay(1600).fadeIn("slow");
53});
54
55function close() {
56	$('.notice_modal').fadeOut();
57}
58$('.btn_close,.notice_modal_bg').on('click', close);
59
60
61//banner
62$(function () {
63	$(".Slide").slick({
64		arrows: false,
65		dots: true,
66		autoplay: true,
67		autoplaySpeed: 5000,
68		speed: 900,
69	})
70});

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.