PageSourceSearch

https://01blog.org/store/wp-content/themes/welcart_basic/js/front-customized.js?ver=1.0

js 01blog.org collected 2026-10-06 16:54:37 UTC 713 bytes, 30 lines download raw bytes

1(function ($) {
2	$(document).ready(function () {
3		$('.snav i').click(function () {
4			if (!$(this).parent().hasClass('On')) {
5				$('.snav div').removeClass('On');
6			}
7			$(this).parent().toggleClass('On');
8		});
9
10		$('#toTop').hide();
11		$(window).scroll(function () {
12			if ($(this).scrollTop() > 100) {
13				$('#toTop').fadeIn();
14			} else {
15				$('#toTop').fadeOut();
16			}
17		});
18
19		$('#toTop a').click(function () {
20			const speed = 800;
21			const href = $(this).attr('href');
22			const target = $(
23				href === '#masthead' || href === '' ? 'html' : href
24			);
25			const position = target.offset().top;
26			$('html, body').animate({ scrollTop: position }, speed, 'swing');
27			return false;
28		});
29	});
30})(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.