PageSourceSearch

https://www.mietv.com/cms/wp-content/themes/mie_tv/js/anime.js

js mietv.com collected 2026-10-01 12:15:37 UTC 2,969 bytes, 117 lines download raw bytes

1
2$(function() {
3  var $pagetop = $('.page_top');
4  $(window).on( 'scroll', function () {
5    //スクロール位置を取得
6    if ( $(this).scrollTop() < 150 ) {
7      //要素をスライド非表示
8      $pagetop.removeClass('active');
9    } else {
10      //要素をスライド表示
11      $pagetop.addClass('active');
12    }
13  });
14		$pagetop.click(function () {
15			$('body,html').animate({
16				scrollTop: 0
17			},1500);
18			return false;
19		});  
20});
21
22$(window).scroll(function (){
23  $(".footer_content").each(function(){
24    var hit		= $(this).offset().top;
25    var scroll	= $(window).scrollTop();
26    var wHeight	= $(window).height();
27
28    if (scroll > hit - wHeight + wHeight/80){
29      $(this).parent('footer').addClass('run');
30    }else{
31      $(this).parent('footer').removeClass('run');
32    }
33  });
34});
35
36
37$(window).scroll(function (){
38  $(".cloud").each(function(){
39    var hit		= $(this).offset().top;
40    var scroll	= $(window).scrollTop();
41    var wHeight	= $(window).height();
42
43    if (scroll > hit - wHeight + wHeight/100){
44      $(this).addClass('cloud_active');
45    }else{
46      $(this).removeClass('cloud_active');
47    }
48  });
49});
50
51$(window).scroll(function (){
52  $(".cloud_parent").each(function(){
53    var hit		= $(this).offset().top;
54    var scroll	= $(window).scrollTop();
55    var wHeight	= $(window).height();
56
57    if (scroll > hit - wHeight + wHeight/80){
58      $(this).parent('.cloud').addClass('cloud_parent_active');
59    }else{
60      $(this).parent('.cloud').removeClass('cloud_parent_active');
61    }
62  });
63});
64
65$(window).scroll(function (){
66  $(".cloud_prev").each(function(){
67    var hit		= $(this).offset().top;
68    var scroll	= $(window).scrollTop();
69    var wHeight	= $(window).height();
70
71    if (scroll > hit - wHeight + wHeight/80){
72      $(this).prev('.cloud').addClass('cloud_prev_active');
73    }else{
74      $(this).prev('.cloud').removeClass('cloud_prev_active');
75    }
76  });
77});
78
79$(window).scroll(function (){
80  $(".blog_box").each(function(){
81    var hit		= $(this).offset().top;
82    var scroll	= $(window).scrollTop();
83    var wHeight	= $(window).height();
84
85    if (scroll > hit - wHeight + wHeight/80){
86      $(this).addClass('run');
87    }
88  });
89});
90
91$(window).scroll(function (){
92  $(".ninja").each(function(){
93    var hit		= $(this).offset().top;
94    var scroll	= $(window).scrollTop();
95    var wHeight	= $(window).height();
96
97    if (scroll > hit - wHeight + wHeight/80){
98      $(this).addClass('run');
99    }else{
100      $(this).parent(".ninja").removeClass('run');
101    }
102  });
103});
104
105$(window).scroll(function (){
106  $(".content_cloud").each(function(){
107    var hit		= $(this).offset().top;
108    var scroll	= $(window).scrollTop();
109    var wHeight	= $(window).height();
110
111    if (scroll > hit - wHeight + wHeight/5){
112      $(this).addClass('active');
113    }else{
114      $(this).removeClass('active');
115    }
116  });
117});

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.