PageSourceSearch

https://www.bodybook.jp/_js/main.js

js bodybook.jp collected 2026-10-04 13:29:51 UTC 1,483 bytes, 73 lines download raw bytes

1// *************************************
2//	Wacoal Body Book
3//	
4//	function
5//	2022.08.02
6//	
7// *************************************
8jQuery.noConflict();
9var j$ = jQuery;
10
11// Header
12j$(function(){
13	var _window = j$(window),
14		_header = j$('.site-header'),
15		windowScroll;
16	
17	_window.on('scroll',function(){
18		var windowScroll = 100;
19		
20		if(_window.scrollTop() > windowScroll){
21			_header.addClass('hide');
22		}
23		else{
24			_header.removeClass('hide');
25		}
26	});
27	
28	_window.trigger('scroll');	
29});
30
31// ヘッダー(SPハンバーガーメニュー開閉と背景固定)
32j$(function() {
33	var state = false;
34	var pos;
35	j$('.hamburger').click(function() {
36		j$(this).toggleClass('active');
37		if (state == false) {
38			pos = j$(window).scrollTop();
39			j$('body').addClass('fixed').css({'top': -pos});
40			j$('.globalMenuSp').addClass('active');
41			state = true;
42		} else {
43			j$('body').removeClass('fixed').css({'top': 0});
44			j$('.globalMenuSp').removeClass('active');
45			window.scrollTo(0, pos);
46			state = false;
47		}
48	});
49});
50
51// Information / slick.js
52j$(function() {
53	j$('.slider-information').slick({
54		autoplay: true,
55		autoplaySpeed: 3500,
56		dots: true,
57		infinite: true,
58		swipeToSlide: true,
59		arrows: false,
60	});
61});
62
63// wws / slick.js
64j$(function() {
65	j$('.slider-wws').slick({
66		autoplay: true,
67		autoplaySpeed: 3500,
68		dots: true,
69		infinite: true,
70		swipeToSlide: true,
71		arrows: false,
72	});
73});

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.