PageSourceSearch

https://www.aerohirata.co.jp/js/common/base.js

js aerohirata.co.jp collected 2026-10-04 22:37:36 UTC 2,560 bytes, 104 lines download raw bytes

1$(function(){
2	
3	/*--------------------------------
4		ooLib.js の各メソッド呼び出し
5	--------------------------------*/
6	
7	//ロールオーバー&カレント処理
8	$.oo.util.linkAction({
9		gNavSelecter: ".global_navi",
10		gNavHasHome: true,
11		sNavSelecter: [".side_navi_area ul", ".footer_site_navi"],
12		postFixRo: "_f2",
13		postFixCr: "_f3"
14	});
15	$('.pagetop a, .scroll_btn').scrollTo(); //スムーススクロール
16	$('.footer_wrap').footerFixed();
17	$('.ga_download').gaDownloadTrack();
18	
19	$('.clm2').mrbCut({items: "li", colNum: 2}); //右端と最下段のマージンカット
20	$('.clm3').mrbCut({items: "li", colNum: 3});
21	$('.clm4').mrbCut({items: "li", colNum: 4});
22//	$('.clm5').mrbCut({items: "li", colNum: 5});
23	$('.eq_height').eqHeight({items: "li"}); //横並びのコンテンツの高さを揃える
24	
25	// side_navi
26	$('.side_navi_area li:last-child').addClass('last');
27	
28	// BIG TARGET
29	var $box = $(".linkbox li:has(a)");
30	
31	$box.click(function(){
32		window.location = $(this).find("a").attr("href");
33        return false;
34	});
35	
36	$box.hover(
37		function() {
38			$(this).addClass('box_hover');
39		},
40		function() {
41			$(this).removeClass('box_hover');
42		}
43	)
44	
45	
46	// lang_menu dropdown submenu
47	
48	var $mainmenu   = $('.submenu_wrap');
49	var $submenu    = $('.submenu');
50	var $menuParent = $('.menu_parent');
51	
52	$submenu.hide();		
53	$mainmenu.hover(
54		function(){	
55			$(this).find("ul:not(:animated)").slideDown(200);
56		},
57		function(){
58			$submenu.slideUp(200);
59		}
60	);
61	
62	$menuParent.click(function(){
63        return false;
64	});
65	
66	
67	
68	// page top
69	var dh = $("body").outerHeight(true);
70	//フッターのtopからの位置
71	var ft = $(".footer_wrap").offset().top;
72	//フッターの高さ
73	var fh = $(".footer_wrap").outerHeight(true);
74	
75	var showFlag = false;
76	var topBtn = $('.pagetop');	
77	topBtn.css('right', '-130px');
78	var showFlag = false;
79	var scrollTop;
80	var scrollFixPoint;
81	var bottomDistance;
82	//スクロールが100に達したらボタン表示
83	$(window).scroll(function () {
84		scrollTop = $(this).scrollTop();
85		scrollFixPoint = $("body").outerHeight(true) - $(window).height() - fh;
86		if ($(this).scrollTop() > 100) {
87			if(scrollTop < scrollFixPoint) {
88				if (showFlag == false) {
89					showFlag = true;
90					topBtn.stop().animate({'right' : '0px'}, 200); 
91				}
92			} else {
93				bottomDistance = scrollTop - scrollFixPoint;
94				topBtn.css({'bottom' : bottomDistance + 2 + 'px'}); 
95			}
96		} else {
97			if (showFlag) {
98				showFlag = false;
99				topBtn.stop().animate({'right' : '-100px'}, 200); 
100			}
101		}
102	});
103	
104});

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.