PageSourceSearch

https://www.rs-fukuyama.co.jp/kouka/js/down.js

js rs-fukuyama.co.jp collected 2026-10-07 07:23:54 UTC 934 bytes, 28 lines download raw bytes

1$(function() {
2    var nav = $('.fix_nav');
3    //表示位置
4    var navTop = nav.offset().top+100;
5    //ナビゲーションの高さ(シャドウの分だけ足してます)
6    var navHeight = nav.height()+10;
7    var showFlag = false;
8    nav.css('top', -navHeight+'px');
9    //ナビゲーションの位置まできたら表示
10    $(window).scroll(function () {
11        var winTop = $(this).scrollTop();
12        if (winTop >= navTop) {
13            if (showFlag == false) {
14                showFlag = true;
15                nav
16                    .addClass('fixed')
17                    .stop().animate({'top' : '0px'}, 200);
18            }
19        } else if (winTop <= navTop) {
20            if (showFlag) {
21                showFlag = false;
22                nav.stop().animate({'top' : -navHeight+'px'}, 200, function(){
23                    nav.removeClass('fixed');
24                });
25            }
26        }
27    });
28});

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.