PageSourceSearch

https://822468.com/shop/wp-content/themes/welcart_mode/assets/js/common.js?ver=1.0

js 822468.com collected 2026-10-03 23:45:12 UTC 1,811 bytes, 77 lines download raw bytes

1( function( $ ) {
2
3	$( function() {
4
5		$( '.site-content input[type=checkbox]' ).after( '<span class="checkmark"></span>' );
6		$( '.site-content input[type=radio]' ).after( '<span class="radiomark"></span>' );
7
8	});
9
10
11	$(function(){
12		var selectBox = $('ul.is-child')
13		var display = $('.selected-category')
14
15		display.on('click',function(){
16			selectBox.fadeToggle('fast');
17			return false;
18		})
19
20	})
21	
22	// アドミンバーがある時のヘッダー固定
23	$(window).scroll(function() {
24	var sitetop = $(this).scrollTop();
25		if ( sitetop < 46 ) {
26			$('.admin-bar #site').addClass('loginbar');
27		} else {
28			$('.admin-bar #site').removeClass('loginbar');
29		}
30	});
31
32
33	$( function() {
34		var pair = location.search.substring(1).split('&');
35		var arg = new Object;
36		for( var i = 0; pair[i]; i++ ) {
37			var kv = pair[i].split('=');
38			arg[kv[0]] = kv[1];
39		}
40		if( undefined != arg.from_item && undefined != arg.from_sku ) {
41			$('.wpcf7-submit').on('click', function() {
42				var form = $(this).parents('form');
43				form.attr('action', $(this).data('action'));
44				$('<input>').attr({
45					'type': 'hidden',
46					'name': 'from_item',
47					'value': arg.from_item
48				}).appendTo(form);
49				$('<input>').attr({
50					'type': 'hidden',
51					'name': 'from_sku',
52					'value': arg.from_sku
53				}).appendTo(form);
54			});
55		}
56	});
57
58	$( '#toTop' ).hide();
59	$( window ).scroll( function () {
60		if ( $( this ).scrollTop() > 100 ) {
61			$( '#toTop' ).fadeIn();
62		} else {
63			$( '#toTop' ).fadeOut();
64		}
65	});
66
67	$( '#toTop a' ).click( function() {
68		var speed = 800;
69		var href = $( this ).attr( "href" );
70		var target = $( href === "#masthead" || href === "" ? 'html' : href );
71		var position = target.offset().top;
72		$( "html, body" ).animate( { scrollTop:position }, speed, "swing" );
73		return false;
74	});
75
76
77} )( jQuery );

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.