PageSourceSearch

https://www.skj-kk.co.jp/js/jquery.scrollshow.js

js skj-kk.co.jp collected 2026-10-06 08:00:14 UTC 1,083 bytes, 39 lines download raw bytes

1/* =========================================================*/
2// jquery.scrollshow.js / ver.1.1
3
4// Copyright (c) 2014 CoolWebWindow
5// This code is released under the MIT License
6// http://www.coolwebwindow.com/jquery-plugin/rules/
7
8// Date: 2015-12-28
9// Author: CoolWebWindow
10// Mail: [email protected]
11// Web: http://www.coolwebwindow.com
12
13// Used jquery.js
14// http://jquery.com/
15/* =========================================================*/
16
17$(function($){
18    $.fn.scrollshow = function(config) {
19        // オプション
20        var o = $.extend({
21            position : 400 // 表示位置
22        }, config);
23
24        var $element = $(this);
25
26        // 要素の非表示
27        if ($(window).scrollTop() < o.position){
28            $element.hide();
29        }
30        // スクロールすると表示させる
31        $(window).scroll(function(){
32            if ($(this).scrollTop() >= o.position) {
33                $element.not(':animated').fadeIn();
34            } else {
35                $element.not(':animated').fadeOut();
36            }
37        });
38    };
39});

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.