PageSourceSearch

https://muckamorecreditunion.com/Scripts/NewsFilter.js?v=EgEB29lyALyBlKG6MSuNjs-tYHKJrnt6YYynHwh6DkY

js muckamorecreditunion.com collected 2026-10-02 01:37:20 UTC 2,190 bytes, 64 lines download raw bytes

1
2$("#newsCategoryFilter").on("change", function () {
3    var filter = $("#newsCategoryFilter option:selected").val();
4    var currentpage = window.location.href.split('/')[0] + "/" + window.location.href.split('/')[1] + "/" + window.location.href.split('/')[2];
5    var filterUrl = currentpage + "/news/category/" + filter;
6
7    window.location.href = filterUrl;
8})
9
10var $grid = $('#NewsArticles').isotope({
11    itemSelector: 'none',
12    masonry: {
13        columnWidth: '.Newsgrid__col-sizer',
14        gutter: '.Newsgrid__gutter-sizer',
15    },
16    percentPosition: true,
17    stagger: 30,
18    visibleStyle: { transform: 'translateY(0)', opacity: 1 },
19    hiddenStyle: { transform: 'translateY(100px)', opacity: 0 },
20});
21
22
23var iso = $grid.data('isotope');
24
25$grid.imagesLoaded(function () {
26    $grid.removeClass('are-images-unloaded');
27    $grid.isotope('option', { itemSelector: '.Newsgrid__item' });
28    var $items = $grid.find('.Newsgrid__item');
29    $grid.isotope('appended', $items);
30    $grid.isotope('layout');
31});
32
33$grid.infiniteScroll({
34    path: '#NextArticles',
35    append: '#NewsArticle',
36    outlayer: iso
37});
38
39$('.filter-button-group').on('click', 'button', function () {
40
41    var filterValue = $(this).attr('data-filter');
42    $('#NewsArticles').isotope({ filter: filterValue });
43});
44
45$(document).ready(function () {
46    if (document.getElementById('newsCategoryFilter') !== null) {
47        var currentPage = window.location.href.split('/')[0] + "/" + window.location.href.split('/')[1] + "/" + window.location.href.split('/')[2];
48        var newsCatDDLOptions = document.getElementById('newsCategoryFilter').options;
49
50        for (var i = 0; i < newsCatDDLOptions.length; i++) {
51            var option = newsCatDDLOptions[i];
52            var categoryLink = currentPage + "/news/category/" + option.value;
53
54            option.innerHTML = option.innerHTML.trim();
55            $(option).attr('data-link', categoryLink);
56        }
57
58        $('#newsCategoryFilter').on('change', function () {
59            var selectedOption = this.options[this.selectedIndex];
60            var link = $(selectedOption).data('link');
61            window.location.href = link;
62        });
63    }
64});

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.