PageSourceSearch

https://collidebehavioralhealth.com/wp-content/plugins/bv-staff-di…?ver=bb75e9cac4171ae22a11eae40b384ad9

js collidebehavioralhealth.com collected 2026-10-05 11:41:42 UTC 2,230 bytes, 68 lines download raw bytes

1(function($, bvsd){
2
3    $(document).ready(function(){
4        initAll();
5    });
6
7    function initAll(){
8        if($("#bvsd-main").hasClass("bvsd-type-a")) initA();
9        if($("#bvsd-main").hasClass("bvsd-type-b")) initB();
10        if($("#bvsd-main").hasClass("bvsd-type-c")) initC();
11
12        $(".bvsd-category").on("click", function(e){
13            e.preventDefault();
14            var type = $(this).attr("data-cat");
15            $(".bvsd-staff-category").removeClass("active");
16            $(".bvsd-category").removeClass("active");
17            $(this).addClass("active");
18            $(".bvsd-staff-category.bvsd-staff-" + type).addClass("active");
19        });
20    }
21
22    function initA(){
23        $(".bvsd-type-a a.bvsd-staff-link").on("mouseover", function(e){
24            $(this).find(".bvsd-staff").addClass("mouseover");
25        });
26        $(".bvsd-type-a a.bvsd-staff-link").on("mouseout", function(e){
27            $(this).find(".bvsd-staff").removeClass("mouseover");
28        });
29    }
30
31    function initB(){
32        $(".bvsd-type-b a.bvsd-staff-link").on("mouseover", function(e){
33            $(this).find(".bvsd-staff").addClass("mouseover");
34        });
35        $(".bvsd-type-b a.bvsd-staff-link").on("mouseout", function(e){
36            $(this).find(".bvsd-staff").removeClass("mouseover");
37        });
38        $(".bvsd-type-b a.bvsd-staff-link").fancybox({
39            maxWidth	: 800,
40            maxHeight	: 600,
41            fitToView	: true,
42            width		: '70%',
43            height		: '70%',
44            autoSize	: true,
45            closeClick	: true,
46            closeBtn	: true,
47            type	    : 'inline',
48            openEffect	: 'none',
49            closeEffect	: 'none',
50            helpers : {
51                overlay : {
52                    css : {
53                        'background' : 'rgba(0, 0, 0, 0.8)'
54                    }
55                }
56            }
57        });
58    }
59
60    function initC(){
61        $(".bvsd-type-c a.bvsd-staff-link").on("click", function(e){
62            var id = $(this).attr("href");
63            $(".bvsd-type-c .bvsd-popup-details br").remove();
64            $(".bvsd-type-c #bvsd-profile-window").html($(id).html());
65        });
66    }
67
68})(jQuery, bvsd);

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.