PageSourceSearch

https://autobio.com.cn/Public/Home/js/prosolu.js

js autobio.com.cn collected 2026-10-05 11:46:15 UTC 1,705 bytes, 49 lines download raw bytes

1
2$(function(){
3    var ulH = $(".fmenu-list").outerHeight()
4    $(".prosolu-cont .lef").height(ulH)
5    $(window).scroll(function () {
6        var cTop = $(".prosolu-cont").offset().top;
7        var ftHeight1 = $(".footer").height();
8        var ftHeight2 = $(".prosolu-solution").outerHeight();
9        var ftHeight = ftHeight1+ftHeight2 + 100
10        awayBtm = $(document).height() - $(window).scrollTop() - $(window).height();
11        if($(window).scrollTop()>=cTop){
12            $(".prosolu-cont .lef").addClass("fixed");
13        }else {
14            $(".prosolu-cont .lef").removeClass("fixed");
15        }
16        if(awayBtm<=ftHeight){
17            $(".prosolu-cont .lef").removeClass("fixed");
18        }
19    })
20
21
22
23    $('.fmenu-list li').click(function(){
24        // 页面平滑的滚动到相应的位置
25        scrollToTop($("."+$(this).attr("id")).offset().top)
26    })
27    /* 监听滚动 */
28    $(document).scroll(function() {
29      if ($(document).height() <= (parseInt($(document).scrollTop() + 1) + $(window).height())){  //滚动条滑到底部啦
30        $(".fmenu-list li").removeClass('active')
31        $(".fmenu-list li:last").addClass('active')
32        return;
33      }
34      var top = $(document).scrollTop();  //滚动条距离顶部的高度
35      $(".li-item").each(function (i,item) {
36          if($(this).offset().top <= top){
37              $(".fmenu-list li").removeClass('active')
38              $("#"+item.classList[1]).addClass('active');
39          }
40      })
41    });
42  })
43  /** 将滚动轴滚到相应位置 */
44  function scrollToTop(number) {
45    window.scrollTo({
46        top: number,
47        behavior: "smooth"
48    });
49  }

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.