PageSourceSearch

https://www.fomac.co.id/js/move-to-top.js

js fomac.co.id collected 2026-10-09 04:24:43 UTC 668 bytes, 18 lines download raw bytes

1$(document).ready(function(){
2    
3    $(window).scroll( function() {               //滚动时触发
4        var top = $(document).scrollTop();       //获取滚动条到顶部的垂直高度
5        var height = $(window).height();     //获得可视浏览器的高度
6        if(top > 1/10*height){                           //到一定高度显示
7            $("#moveTotop").fadeIn(300);
8        }else {                            
9            $("#moveTotop").fadeOut(300);
10        }
11    });
12    /*点击回到顶部*/
13    $('#moveTotop').click(function(){
14        $('html, body').animate({
15            scrollTop: 0
16        }, 500);
17    });
18});

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.