PageSourceSearch

https://doahomework.com/js/blog-custom.js

js doahomework.com collected 2026-10-06 15:25:09 UTC 1,220 bytes, 27 lines download raw bytes

1$(function(){
2    var sidebar_height = $(".sidebar").height();
3   $(window).scroll(function(){
4
5       var calculator_height = $(".sidebar__wrap").height();
6       if(pageYOffset + calculator_height > sidebar_height){
7           $(".sidebar__wrap").css("position","absolute").css("bottom","0");
8       } else{
9           $(".sidebar__wrap").css("position","fixed").css("bottom","unset");
10       }
11   });
12
13    if ($(window).width() > 1024) {
14        var targetCtaRow = $('.cta-row');
15        var targetCtaRowPos = targetCtaRow.offset().top;
16        var winRowHeight = $(window).height();
17        var scrollToElemCta = targetCtaRowPos - winRowHeight + 150;
18        $(window).scroll(function(){
19            var winScrollFromTop = $(this).scrollTop();
20            if(winScrollFromTop > scrollToElemCta){
21                $(".heateor_sss_vertical_sharing").attr('style', 'position: absolute !important; width: 44px; top: unset !important; bottom: 0; -webkit-box-shadow: none; box-shadow: none;');
22            }else{
23                $(".heateor_sss_vertical_sharing").attr('style', 'position: fixed!important; top: 193px!important; -webkit-box-shadow: none; box-shadow: none; width: 44px;');
24            }
25        });
26    }
27});

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.