PageSourceSearch

https://www.typebank.co.jp/wp-content/themes/typebank/library/js/fix-company-menu.js?ver=5.1.19

js typebank.co.jp collected 2026-09-24 18:12:02 UTC 1,111 bytes, 49 lines download raw bytes

1jQuery(function($) {
2	if($('#nav_menu-3').length == 0) {
3		return;
4	}
5	tbAccordion('#nav_menu-3 > .widgettitle', '#nav_menu-3 > .widgettitle + div', 768);
6	var fitSideMenu = function() {
7		var mr = $('#inner-content').offset().left;
8		var ww = $(window).width();
9		var sdw = $('#sidebar1').width();
10		var sdt = $('#sidebar1').offset().top;
11		var ih = $('#inner-content').height() +
12			$('#inner-content').offset().top;
13		var wh = $(window).height();
14		var st = $(window).scrollTop();
15		var mh = $('#nav_menu-3').height();
16		if(ww < 768 || st < sdt) {
17			$('#nav_menu-3').css({
18				position: '',
19				top: '',
20				bottom: '',
21				right: '',
22				width: '',
23				'margin-top': ''
24			});
25			return;
26		}
27		if(st <= ih - mh) {
28			$('#nav_menu-3').css({
29				position: 'fixed',
30				top: '0',
31				bottom: '',
32				right: mr + 'px',
33				width: sdw + 'px',
34				'margin-top': '0'
35			});
36			return;
37		}
38		$('#nav_menu-3').css({
39			position: 'absolute',
40			top: '',
41			bottom: '0',
42			right: 0,
43			width: sdw + 'px',
44			'margin-top': '0'
45		});
46	};
47	$(window).on('scroll', fitSideMenu);
48	$(window).on('resize', fitSideMenu);
49});

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.