PageSourceSearch

https://aecom.com/wp-content/plugins/aecom-widgets/js/aecom-widgets-front.js?ver=6.9.4

js aecom.com collected 2026-10-01 08:42:23 UTC 3,480 bytes, 74 lines download raw bytes

1jQuery(document).ready(function($){
2
3    if ($(window).width() > 991) {
4        $(function() {
5    
6            var screen_height = screen.height;
7            $('.multiple-blogs-navigation-link').css({"height" : screen_height * .6});        
8
9            var offsetPixels = ($('.aecom-single-blog-post-header').height() + $('.aecom-blog-header-search').height() + $('.menu-containe').height()) - 29;
10
11            //LEFT SIDE
12            var widthLeft = $('.aecom-single-post-side-slide').width();
13            $(window).scroll(function() {
14                if ($(window).scrollTop() > offsetPixels) {
15                    if ( $(window).scrollTop() < ( $('.aecom-single-post-main-content').height() + $('.aecom-blog-header-search').height() + $('.aecom-single-blog-post-header').height() - $('.aecom-single-post-side-slide').height() + 120) ) {
16                        $( ".aecom-single-post-side-slide" ).css({
17                            "position": "fixed",
18                            "top": "130px",
19                            "right" : "inherit",
20                            "width" : widthLeft,
21                            "height" : "inherit"
22                        })
23                    } else {
24                        $( ".aecom-single-post-side-slide" ).css({
25                            "position": "absolute",
26                            "width" : widthLeft,
27                            "top" : "40px",
28                            "bottom": "unset",
29                        });
30                    }
31                } else {
32                    $( ".aecom-single-post-side-slide" ).css({
33                        "position": "static",
34                        "width" : widthLeft,
35                    });
36                }
37            });
38
39
40            // RIGHT SIDE
41            var offsetPixels = ($('.aecom-single-blog-post-header').height() + $('.aecom-blog-header-search').height() + $('.menu-container').height() - 29);
42            var widthRight = $('.aecom-single-post-side-slide-right').width();
43            $(window).scroll(function() {
44                // console.log(offsetPixels);
45                // console.log($(window).scrollTop());
46                if ($(window).scrollTop() > offsetPixels) {
47                    
48                    if ( $(window).scrollTop() < ( $('.aecom-single-post-main-content').height() + $('.aecom-blog-header-search').height() + $('.aecom-single-blog-post-header').height() - $('.aecom-single-post-side-slide-right').height() + 120) ) {
49                        console.log('here');
50                        $( ".aecom-single-post-side-slide-right" ).css({
51                            "position": "fixed",
52                            "top": "130px",
53                            "right" : "inherit",
54                            "width" : widthRight,
55                            "bottom" : "unset",
56                        })
57                    } else {
58                        $( ".aecom-single-post-side-slide-right" ).css({
59                            "position": "absolute",
60                            "width" : widthRight,
61                            "bottom" : "0",
62                            "top": "unset",
63                        });
64                    }
65                } else {
66                    $( ".aecom-single-post-side-slide-right" ).css({
67                        "position": "static",
68                        "width" : widthRight
69                    });
70                }
71            });
72        });
73    }
74});

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.