PageSourceSearch

https://my.theford.com/bundles/madeblocksoffice/js/expando.js

js theford.com collected 2026-09-25 19:11:46 UTC 1,146 bytes, 22 lines download raw bytes

1;(function($, window, undefined) {
2    $(function() {
3        var expandoHandler = function() {
4            $('input[name="' + $(this).attr('name') + '"]').siblings('.extra').addClass('hidden');
5
6            if(this.checked) {
7                $(this).siblings('.extra').removeClass('hidden');
8                $('.expando.active').removeClass('active');
9                $(this).parent('.expando').addClass('active');
10            } else {
11                $(this).siblings('.extra').addClass('hidden');
12                $('.expando.active').removeClass('active');
13            }
14        };
15        $(document).on('click', '.expando input[type="checkbox"]', expandoHandler);
16        $(document).on('change', '.expando input[type="radio"]', expandoHandler);
17        $('.expando input[type="checkbox"]:checked').siblings('.extra').removeClass('hidden');
18        $('.expando input[type="radio"]:checked').siblings('.extra').removeClass('hidden');
19        $('.expando input[type="checkbox"]:checked').parent('.expando').addClass('active');
20        $('.expando input[type="radio"]:checked').parent('.expando').addClass('active');
21    });
22}(jQuery, window));

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.