PageSourceSearch

https://www.luxurycar-parts.com/js/common.js

js luxurycar-parts.com collected 2026-10-08 05:14:15 UTC 1,392 bytes, 56 lines download raw bytes

1$(window).on('load scroll', function() {
2    "use strict";
3
4    var pos = $(window).scrollTop();
5    if ( pos > 500 ) {
6        $('#page-top').fadeIn();
7    } else {
8        $('#page-top').fadeOut();
9    }
10});
11
12$(function(){
13    "use strict";
14
15    var speed = 500;
16
17	$('a[href^="#"]').on('click', function(){
18		var href= $(this).attr("href");
19		var target = $(href === "#" || href === "" ? 'html' : href);
20		var position = target.offset().top;
21		$("html, body").animate({scrollTop:position}, speed, "swing");
22		return false;
23	});
24
25    $('#page-top').on('click', function(){
26        $("html, body").animate({scrollTop:0}, speed, "swing");
27		return false;
28    });
29});
30
31// 設定開始(スクロールの動きを設定してください)
32
33var scroll_speed = 50; // スクロールのスピード(1に近いほど速く)
34var move = 1; // スクロールのなめらかさ(1に近いほどなめらかに)
35
36// 設定終了
37
38
39function scrollbox() {
40
41    /*var target = document.getElementById('js_hot_item_wrap');
42    var current = target.scrollTop;
43
44    target.scrollTop = current + move;
45
46    var rep = setTimeout("scrollbox()", scroll_speed);
47
48    target.addEventListener('mouseenter', function() {
49        move = 0;
50    }, false);
51
52    target.addEventListener('mouseleave', function() {
53        move = 1;
54    }, false);*/
55
56}

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.