PageSourceSearch

http://ld-frpp.com/template/images/scripts/index.js

js ld-frpp.com collected 2026-10-07 14:22:46 UTC 2,972 bytes, 90 lines download raw bytes

1// JavaScript Document
2var QuickScrollYLast=0;
3var QuickMenu=document.getElementById("QuickMenu")
4window.setInterval("LoadMenu()",1);
5function LoadMenu(){
6    var QuickScrollYDefault;
7    if(document.documentElement&&document.documentElement.scrollTop){
8        QuickScrollYDefault=document.documentElement.scrollTop;
9    }else if(document.body){
10        QuickScrollYDefault=document.body.scrollTop;
11    }else{
12    }
13    QuickPercent=.1*(QuickScrollYDefault-QuickScrollYLast);
14    if(QuickPercent>0){
15        QuickPercent=Math.ceil(QuickPercent);
16    }else{
17        QuickPercent=Math.floor(QuickPercent);
18    }
19    QuickMenu.style.top=parseInt(QuickMenu.style.top)+QuickPercent+"px";
20    QuickScrollYLast=QuickScrollYLast+QuickPercent;
21}
22var MenuX;
23var MenuY;
24var MenuCloseX;
25var MenuCloseY;
26function ChangeMenu(id,menuwidth,menuheight){
27    clearInterval(MenuX);
28    clearInterval(MenuY);
29    clearInterval(MenuCloseX);
30    clearInterval(MenuCloseY);
31    var o = document.getElementById(id);
32    if(o.style.display == "none"){
33        o.style.display = "block";
34        o.style.width = "1px";
35        o.style.height = "1px"; 
36        MenuX = setInterval(function(){menuopenx(o,menuwidth,menuheight)},30);
37        document.getElementById("menutop").src="/template/images/img/close.gif";
38    }else{
39        document.getElementById("menutop").src="/template/images/img/kefu.gif";
40        MenuCloseY = setInterval(function(){menuclosex(o)},30);
41    }
42}
43function menuopenx(o,x,y){/*--打开x--*/
44    var menucx = parseInt(o.style.width);
45    if(menucx < x){
46        o.style.width = (menucx + Math.ceil((x-menucx)/5)) +"px";
47    }else{
48        clearInterval(MenuX);
49        //MenuY = setInterval(function(){menuopeny(o,y)},30);
50    }
51    var menucy = parseInt(o.style.height);
52    if(menucy < y){
53        o.style.height = (menucy + Math.ceil((y-menucy)/5)) +"px";
54    }else{
55        clearInterval(MenuY); 
56    }
57}
58function menuopeny(o,y){/*--打开y--*/ 
59    var menucy = parseInt(o.style.height);
60    if(menucy < y){
61        o.style.height = (menucy + Math.ceil((y-menucy)/5)) +"px";
62    }else{
63        clearInterval(MenuY); 
64    }
65} 
66function menuclosex(o){/*--打开x--*/
67    var menucx = parseInt(o.style.width);
68    if(menucx > 0){
69        o.style.width = (menucx - Math.ceil(menucx/5)) +"px";
70    }else{
71        clearInterval(MenuCloseX);
72        //MenuCloseX = setInterval(function(){menuclosey(o)},30);
73    }
74    var menucy = parseInt(o.style.height);
75    if(menucy > 0){
76        o.style.height = (menucy - Math.ceil(menucy/5)) +"px";
77    }else{
78        clearInterval(MenuCloseY); 
79        o.style.display = "none";
80    }
81} 
82function menuclosey(o){/*--打开y--*/ 
83    var menucy = parseInt(o.style.height);
84    if(menucy > 0){
85        o.style.height = (menucy - Math.ceil(menucy/5)) +"px";
86    }else{
87        clearInterval(MenuCloseY); 
88        o.style.display = "none";
89    }
90} 

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.