PageSourceSearch

https://www.mtwo.co.jp/common/script/jquery.import.js

js mtwo.co.jp collected 2026-10-02 07:44:31 UTC 1,216 bytes, 59 lines download raw bytes

1jQuery(document).ready(function(){
2	
3
4//スクロールが100に達したらボタン表示
5	var showFlag = false;
6	var topBtn = jQuery('#page-top');	
7	topBtn.css('bottom', '-100px');
8	var showFlag = false;
9	jQuery(window).scroll(function () {
10		if (jQuery(this).scrollTop() > 100) {
11			if (showFlag == false) {
12				showFlag = true;
13				topBtn.stop().animate({'bottom' : '0'}, 500); 
14			}
15		} else {
16			if (showFlag) {
17				showFlag = false;
18				topBtn.stop().animate({'bottom' : '-100px'}, 500); 
19			}
20		}
21	});
22	
23
24//スクロールしてトップへ
25    topBtn.click(function () {
26		jQuery('body,html').animate({
27			scrollTop: 0
28		}, 500);
29		return false;
30    });
31
32
33// サイドナビゲーションの追随
34	if(0 < jQuery('#side-clm').size()){
35	var sidenav = jQuery('#side-clm'),offset = sidenav.offset();
36  
37	jQuery(window).scroll(function () {
38	  if(jQuery(window).scrollTop() > offset.top) {
39	    sidenav.addClass('fixed');
40	  } else {
41	    sidenav.removeClass('fixed');
42	  }
43	});
44	}
45
46
47//ヘッダー最上部リンクのロールオーバー
48	jQuery('.sub-navigation a').hover(function(){
49	    jQuery(this).fadeTo('fast', 0.7);
50	  },function(){
51	    jQuery(this).fadeTo('fast', 1);
52	  });
53
54
55	
56/* end */	
57
58});
59

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.