PageSourceSearch

https://www.simplify3d.com/wp-content/themes/jupiter-child/v5/javascript.js?ver=1670858382

js simplify3d.com collected 2026-09-24 08:48:13 UTC 1,505 bytes, 60 lines download raw bytes

1$ = jQuery;
2
3$(function ($) {
4    v5.init();
5});
6
7var v5 = {
8
9    init : function()
10    {
11
12        // remove titles from links in menu
13        $('.menu-item-iconOnly a').each(function ()
14        {
15            var svg = $(this).find('svg');
16            $(this).html(svg);
17        });
18
19        // dynamically adjust  image maps (product page)
20        imageMap = new v5.imageMap('workflow-map-image');
21    },
22
23    imageMap : function (img_id)
24    {
25        var img = document.getElementById(img_id);
26
27        if (img)
28        {
29            var map_id = img['useMap'].replace('#',''),
30                map = document.getElementById(map_id);
31
32            var n,
33                areas = map.getElementsByTagName('area'),
34                len = areas.length,
35                coords = [],
36                previousWidth = img.naturalWidth;
37
38            for (n = 0; n < len; n++) {
39                coords[n] = areas[n].coords.split(',');
40            }
41
42            this.resize = function () {
43                var n, m, clen,
44                    x = img.offsetWidth / previousWidth;
45                for (n = 0; n < len; n++) {
46                    clen = coords[n].length;
47                    for (m = 0; m < clen; m++) {
48                        coords[n][m] *= x;
49                    }
50                    areas[n].coords = coords[n].join(',');
51                }
52                previousWidth = img.offsetWidth;
53                return true;
54            };
55
56            window.onresize = this.resize;
57        }
58    }
59
60}

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.