PageSourceSearch

https://celvoke.com/Js/function.js?20250924

js celvoke.com collected 2026-09-30 20:23:54 UTC 7,727 bytes, 324 lines download raw bytes

1$(function(){
2
3	// 新着ニュース
4	//$('#dvTopNews ul').jScrollPane({ mouseWheelSpeed: 50 });
5
6	// サイドメニュー
7	$(".categoryList .toggle").click(function(){
8		$(this).next().slideToggle();
9		$(this).toggleClass("active");
10	});
11
12	// 商品一覧(ウィンドウショッピング)
13	var $variation;
14	//$('.productInfoList').heightLine().biggerlink();
15
16	// 商品一覧(一覧)
17	$('.plPhoto').hover(function() {
18		$variation = $(this).find('.variationview_wrap');
19		if ( $variation ) $variation.show();
20	}, function() {
21		if ( $variation ) $variation.hide();
22	});;
23
24	// お気に入りリスト
25	$('.favoriteProductImage').hover(function() {
26		$variation = $(this).find('.variationview_wrap');
27		if ( $variation ) $variation.show();
28	}, function() {
29		if ( $variation ) $variation.hide();
30	});;
31
32	// 購入履歴一覧
33	//$('.orderBtr').biggerlink();
34
35	// ページトップ
36	$('.page-top a').click(function() {
37		$('html, body').animate({scrollTop:0}, 'fast');
38		return false;
39	});
40});
41
42$(window).on('load', function() {
43	function parameterUrl( name, url ) {
44		if (!url) url = location.href;
45		name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
46		var regexS = "[\\?&]"+name+"=([^&#]*)";
47		var regex = new RegExp( regexS );
48		var results = regex.exec( url );
49		return results == null ? null : results[1];
50	}
51	var cookieName = "rankingTarget";
52	// ランキングのタブを記憶・1
53	if ($('.CateRanking').length) {
54		sessionStorage.setItem(cookieName, parameterUrl('cat').substr(0, 3));
55	}
56});
57
58
59
60$(function () {
61	/*
62	 * スライダー
63	 */
64	$('.flexslider').flexslider({
65//      animation: 'slide',
66		animationLoop: true,
67	directionNav: false,
68	controlNav: true,
69	slideshowSpeed: 4000,
70	startAt: 0,
71		move: 0,
72		maxItems: 0
73	});
74});
75
76$(function () {
77var process = function () {
78
79(function () {
80	/*
81	 * ヘッダー検索エリア
82	 */
83	var $root = $('.header_search');
84	if($root.length === 0) return false;
85	var $btn = $('.header_search_toggle');
86	$root.addClass('is-close');
87
88	$btn.off('click');
89	$btn.on('click', function(){
90		$root.toggleClass('is-close is-open');
91		if($root.hasClass('is-close')){
92			$btn.find('img').attr('src', '/Contents/ImagesPkg/common/header_icon-search.png');
93		}else{
94			$btn.find('img').attr('src', '/Contents/ImagesPkg/common/header_icon-search.png');
95		}
96		return false;
97	});
98}());
99
100
101
102
103(function () {
104	/*
105	 * ドロップダウンメニュー
106	 */
107	var $root = $('.header_inner');
108	if($root.length === 0) return false;
109
110	var $drop = $('.nav-global_products a, .nav-drop');
111	var $focus = $('*').not('.nav-global_products a, .nav-drop');
112$drop.on('mouseenter focus', function(){
113		$root.addClass('is-drop-open');
114	$(".navigation-overlay").fadeIn(0);
115	});
116	$drop.on('mouseleave', function(){
117	$root.removeClass('is-drop-open');
118	$(".navigation-overlay").fadeOut(0);
119	});
120	$focus.on('focus', function(){
121	$root.removeClass('is-drop-open');
122	$(".navigation-overlay").fadeOut(0);
123	});
124}());
125
126(function () {
127	/*
128	 * ドロップダウンメニュー
129	 */
130	var $root = $('.header_inner');
131	if($root.length === 0) return false;
132
133var $drop2 = $('.nav-global_concept a, .nav-drop2');
134	var $focus2 = $('*').not('.nav-global_concept a, .nav-drop2');
135$drop2.on('mouseenter focus', function(){
136		$root.addClass('is-drop-open2');
137	$(".navigation-overlay").fadeIn(0);
138	});
139	$drop2.on('mouseleave', function(){
140	$root.removeClass('is-drop-open2');
141	$(".navigation-overlay").fadeOut(0);
142	});
143	$focus2.on('focus', function(){
144	$root.removeClass('is-drop-open2');
145	$(".navigation-overlay").fadeOut(0);
146	});
147}());
148
149// 20240829 ヘッダー改修
150(function () {
151	/*
152	 * ドロップダウンメニュー
153	 */
154	var $root = $('.header_inner');
155	if($root.length === 0) return false;
156
157var $drop3 = $('.nav-global_about a, .nav-drop3');
158	var $focus3 = $('*').not('.nav-global_about a, .nav-drop3');
159$drop3.on('mouseenter focus', function(){
160		$root.addClass('is-drop-open3');
161	$(".navigation-overlay").fadeIn(0);
162	});
163	$drop3.on('mouseleave', function(){
164	$root.removeClass('is-drop-open3');
165	$(".navigation-overlay").fadeOut(0);
166	});
167	$focus3.on('focus', function(){
168	$root.removeClass('is-drop-open3');
169	$(".navigation-overlay").fadeOut(0);
170	});
171}());
172// 20240829 ヘッダー改修
173
174(function () {
175/*
176	 * スライダー
177	 */
178$('.text-bnr').fadeIn(1500);
179	$('.text-bnr').flexslider({
180		animation: 'slide',
181		animationLoop: true,
182	directionNav: false,
183	controlNav: false,
184	slideshowSpeed: 4000,
185	startAt: 0,
186		move: 0,
187		maxItems: 0
188	});
189}());
190
191
192// SP JS
193// ----------------------------------------------------
194
195    /*
196     * 共通: toggle
197     */
198    $('.toggle_sp').each(function () {
199
200      var $root = $(this);
201      var $content = $root.find('.toggle_content');
202      var $ui = $root.find('.toggle_btn');
203      var btnOn = 'OPEN'; // OPEN
204      var btnOff = 'CLOSE'; // CLOSE
205      var close = 'close_toggleMenu';
206
207      $ui.on('click', function () {
208        var $btn = $(this);
209        if ($root.hasClass(close)) {
210          $content.slideDown(function () {
211            $root.removeClass(close);
212          });
213        } else {
214          $content.slideUp(function () {
215            $root.addClass(close);
216          });
217        }
218        return false;
219      });
220      //$ui.trigger('click');
221    });
222
223    /*
224     * 共通: ヘッダー固定
225     */
226		var nav = $('#fixed-navigation');
227			if (nav.length) {
228				var offsetTop = nav.position().top;
229				$(window).on('scroll', function() {
230					if ($(window).scrollTop() > offsetTop) {
231						nav.addClass('fixed');
232					} else {
233						nav.removeClass('fixed');
234					}
235				});
236			}
237
238	/*
239     * スライダー
240     */
241
242    $('.text-bnr').flexslider({
243      animation: 'slide',
244      animationLoop: true,
245      directionNav: false,
246      controlNav: false,
247      slideshowSpeed: 4000,
248      startAt: 0,
249      move: 0,
250      maxItems: 0
251    });
252
253  /* -- 22.09.29 商品一覧SPカテゴリ -- */
254  $(function(){
255    $(".category_navi .current").click(function(){
256      $(this).next(".category_list").slideToggle();
257      $(this).toggleClass("open");
258    });
259  });
260
261  $(function(){
262    $(".category_list li").click(function(){
263      $(this).children("ul").slideToggle();
264      $(this).children(".nav-title").toggleClass("open");
265    });
266  });
267  /* -- //22.09.29 商品一覧SPカテゴリ -- */
268
269
270  // HAMBURGER
271  // ----------------------------------------------------
272	$('#header #fixed-navigation .utility_menu > a').off('click');
273  $('#header #fixed-navigation .utility_menu > a').on('click',function(){
274		var scrlY = $(window).scrollTop();
275		$('body').toggleClass('noScroll');
276    if(!$('.slide-menu').hasClass('open_spMenu')){
277			$('#header .slide-menu').addClass('open_spMenu');
278      scrlY = $(window).scrollTop();
279      $('body').addClass('noScroll');
280			setTimeout(() => {
281				$(window).scrollTop(scrlY);
282			}, 0);
283    }else {
284      $('body').removeClass('noScroll');
285			setTimeout(() => {
286				$(window).scrollTop(scrlY);
287			}, 0);
288    }
289
290		$('.slide-menu_close, .slide-menu-bg').on('click',function(){
291			$('#header .slide-menu').removeClass('open_spMenu');
292			$('body').removeClass('noScroll');
293			setTimeout(() => {
294				$(window).scrollTop(scrlY);
295			}, 0);
296		});
297
298
299  });
300
301
302
303
304};
305if (Sys && Sys.Application) { Sys.Application.add_load(process); } else { process(); }
306});
307  
308
309/*ハンバーガーメニュー改修250322追加*/
310$(function(){
311  var accordion = function () {
312		$("#HeaderWrap .slide-menu .nav-global2 .accordion_btn").off('click');
313    $("#HeaderWrap .slide-menu .nav-global2 .accordion_btn").click(function(){
314			$(this).toggleClass('open');
315			$(this).next('.accordion_wrap').toggleClass('open');
316  	});
317  }
318
319	if (Sys && Sys.Application) {
320		Sys.Application.add_load(accordion);
321	} else {
322		accordion();
323	}
324});

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.