PageSourceSearch

https://www.leadershipsw.org/Themes/Captivate/Resources/js/Captivate.CMS.Data.js

js leadershipsw.org collected 2026-10-06 12:54:07 UTC 1,884 bytes, 46 lines download raw bytes

1(function ($) {
2
3    CMS.Defaults.SliderGallery = {
4        "SliderType": 2,
5        "PreserveAspect": true
6    };
7    CMS.Data.Design[1].styles.unshift({ Name: "Horizontal Image with Text", Value: "eden-block ", ColorFilter: CMS.Utilities.OnlyColors(['Primary', 'Secondary', 'Optional Third']) });
8    var $animation_elements = $('.animation-element');
9    var $window = $(window);
10    function resizeHeader() {
11        $('header')[($(document).scrollTop() > 100 ? 'add' : 'remove') + 'Class']('smaller');
12        $("main").css({ paddingTop: $("header").innerHeight() });
13    };
14    $('.logo img').on("load", resizeHeader);
15    $window.scroll(resizeHeader);
16
17    function check_if_in_view() {
18        var window_height = $window.height();
19        var window_top_position = $window.scrollTop();
20        var window_bottom_position = (window_top_position + window_height);
21
22        $.each($animation_elements, function () {
23            var $element = $(this);
24            var element_height = $element.outerHeight();
25            var element_top_position = $element.offset().top;
26            var element_bottom_position = (element_top_position + element_height);
27
28            //check to see if this current container is within viewport
29            if ((element_bottom_position >= window_top_position) &&
30              (element_top_position <= window_bottom_position)) {
31                $element.addClass('in-view');
32            } else {
33                $element.removeClass('in-view');
34            }
35        });
36    }
37
38    $window.on('scroll resize', check_if_in_view);
39    $window.trigger('scroll');
40
41    $("div.color-field.cms-color-4 label").text(function () {
42        return $(this).text().replace("Main Menu: ", "Top Bar: ");
43    });
44    $("div.color-field.cms-color-4").insertBefore($("div.color-field.cms-color-7"));
45})(CMS.jQuery);
46

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.