PageSourceSearch

https://www.westhouston.org/wp-content/plugins/event-espresso-core…/checkbox_dropdown_selector.js?ver=5.0.60

js westhouston.org collected 2026-10-02 12:30:51 UTC 1,557 bytes, 55 lines download raw bytes

1jQuery(document).ready(function ($) {
2
3    var autoFadeTime = 1000;
4
5    $('.checkbox-dropdown-selector-btn').on(
6        'click',
7        function (e) {
8            e.preventDefault();
9            e.stopPropagation();
10            var $options = $('#' + $(this).data('target'));
11            if ($options.length) {
12                clearTimeout(parseInt($options.data('optionsAutoFade')));
13                $options.css({
14                    'background': eeGetParentBackgroundColor($options)
15                });
16                $options.stop(true).fadeIn(100);
17            }
18        }
19    ).mouseleave(
20        function () {
21            var $options = $('#' + $(this).data('target'));
22            if ($options.length) {
23                var optionsAutoFade = setTimeout(
24                    function () {
25                        if ($options.length && $options.not(":hover")) {
26                            $options.stop(true).fadeOut(250);
27                        }
28                    },
29                    autoFadeTime
30                );
31                $options.data('optionsAutoFade', parseInt(optionsAutoFade));
32            }
33        }
34    );
35
36    $(document).on(
37        'mouseenter',
38        '.checkbox-dropdown-selector',
39        function () {
40            clearTimeout(parseInt($(this).data('optionsAutoFade')));
41            $(this).stop(true).fadeIn(100);
42        }
43    ).on(
44        'mouseleave',
45        '.checkbox-dropdown-selector',
46        function () {
47            $(this).stop(true).delay(autoFadeTime).fadeOut(250);
48        }
49    );
50
51
52});
53
54
55

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.