PageSourceSearch

https://ikkon-movie.com/project/common/common.js

js ikkon-movie.com collected 2026-10-06 14:07:46 UTC 1,398 bytes, 57 lines download raw bytes

1
2$(function(){
3	//ボタン切り替え
4	$('nav img, .mail img, .foot-nav a img, .link img').hover(function(){
5		$(this).attr('src', $(this).attr('src').replace('_off', '_on'));
6	}, function(){
7		$(this).attr('src', $(this).attr('src').replace('_on', '_off'));
8	});
9	
10	$('h1 a img, .about a img').hover(function(){
11		$(this).fadeTo(500,0.5);
12	}, function(){
13		$(this).fadeTo(500,1);
14	});
15	
16	// ページ上部へ戻るボタンの表示・設定	
17	if((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0) {
18		$('.pagetop').hide();
19		modeMobile=true;
20	} else {
21		$('.pagetop').show();
22		var pagetopFlag=false;
23		modeMobile=false;
24		
25		//最上部なら非表示
26		if($(document).scrollTop()==0){
27			$('.pagetop').fadeOut(100);
28			pagetopFlag=true;
29		}
30		//スクロールしたら表示
31		$(window).scroll(function () {
32			if(pagetopFlag && !modeMobile){
33				$('.pagetop').fadeIn(1000);
34					pagetopFlag=false;
35				}
36				if($(document).scrollTop()==0){
37					$('.pagetop').fadeOut(1000);
38					pagetopFlag=true;
39				}
40			});
41			//クリックしたら
42			$('.pagetop img').click(function(){
43				$('html,body').animate({scrollTop:0}, 500);
44				return false;
45			}).hover(function(){
46				$(this).fadeTo(500,1);
47			}, function(){
48				$(this).fadeTo(500,0.7);
49			});
50	};
51});
52
53
54
55
56
57

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.