PageSourceSearch

https://medical-tribune.co.jp/corporate/js/script.js

js medical-tribune.co.jp collected 2026-10-02 05:43:02 UTC 1,103 bytes, 43 lines download raw bytes

1$(function(){
2	// スムーススクロール
3	$(function(){
4		$('a[href^=#]').click(function(){
5			var speed = 500;
6			var href= $(this).attr("href");
7			var target = $(href == "#" || href == "" ? 'html' : href);
8			var position = target.offset().top;
9			$("html, body").animate({scrollTop:position}, speed, "swing");
10			return false;
11		});
12	});
13	
14	// ふわっと表示
15	$(window).bind("load", function() {
16		$('#fade').fadeIn(1000); // フェードインの実行
17	});
18	
19	// ボタンアニメーション
20	$('.rect_btn').on('inview', function(event, isInView) {
21		if (isInView) {
22			//表示領域に入った時
23			$(this).addClass('fadeInUp');
24		} else {
25			//表示領域から出た時
26			$(this).removeClass('fadeInUp');
27			$(this).css('opacity',0); //非表示にしておく
28		}
29	});
30	
31	// ハンバーガーメニュー
32	$(".drawer").drawer();
33	
34	// googlemapのスクロール制御
35	var map = $('iframe');
36	map.css('pointer-events', 'none');
37	$('.access').click(function() {
38		map.css('pointer-events', 'auto');
39	});
40	map.mouseout(function() {
41		map.css('pointer-events', 'none');
42	})
43});

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.