PageSourceSearch

https://www.hotelgp-sapporo.com/js/b_menu02.js

js hotelgp-sapporo.com collected 2026-10-08 07:39:11 UTC 1,085 bytes, 51 lines download raw bytes

1jQuery(function(){
2	"use strict";
3	var menu = $('#slide_menu'),
4	menuBtn = $('#b_menu li'),     
5	menuHeight = 600;
6
7	function openMenu(){         
8		menu.animate({'bottom' : 0 }, 600);                   
9	}
10	function closeMenu(){
11		menu.animate({'bottom' : -menuHeight }, 600);
12		menu.removeClass('open');
13	}
14
15	// メニューボタンをクリックした時の動き
16	menuBtn.on('click', function(){
17		if(menuBtn.index(this) === 1){
18			menu.toggleClass('open');
19			if(menu.hasClass('open')){
20				openMenu();
21			} else {
22				closeMenu();
23			}            
24		}
25	});
26  
27	
28
29
30
31	/*var scrollElm = (function() {
32		if('scrollingElement' in document) {
33			return document.scrollingElement;
34		}
35		if(navigator.userAgent.indexOf('WebKit') !== -1) {
36			return document.body;
37		}
38			return document.documentElement;
39	})();
40
41	$('a[href^="#"]').not('.noscroll').on('click', function() {
42		var speed = 600;
43		var easing = 'swing';
44		var href= $(this).attr("href");
45		$(scrollElm).animate({
46			scrollTop: $(href === "#" ? 'html' : href).offset().top
47		}, speed, easing);
48		return false;
49	});*/
50	
51}); 

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.