PageSourceSearch

https://www.ametekmetals.com/Scripts/js/home-content-bottom.js

js ametekmetals.com collected 2026-10-08 06:10:47 UTC 991 bytes, 38 lines download raw bytes

1$(document).ready(function () {
2
3
4    resizeFunction();
5    $(window).resize(function () {
6
7        resizeFunction();
8    });
9
10    function resizeFunction() {
11
12        var deviceWidth = $(window).outerWidth();
13
14        /* JS for Desktop*/
15        if (deviceWidth > 750) {
16
17            if ($(".home_content .recent_news_cusdiv .recent_newslist").length == 1) {
18
19                $(".home_content .content_left").append($(".home_content .recent_news_cusdiv .recent_newslist"));
20                $(".home_content .recent_news_cusdiv").css('display', 'none');
21            }
22
23        }
24
25        /* JS for Mobile*/
26        if (deviceWidth <= 750) {
27
28
29            if ($(".home_content .content_left .recent_newslist").length == 1) {
30
31                $(".home_content .recent_news_cusdiv").css('display', 'block');
32                $(".home_content .recent_news_cusdiv").append($(".home_content .content_left .recent_newslist"));
33            }
34
35        }
36
37    }
38});

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.