PageSourceSearch

https://www.harmonyfamilydentistry.com/wp-content/plugins/beaf-bef…/assets/js/bafg-custom-js.js?ver=4.7.14

js harmonyfamilydentistry.com collected 2026-10-04 02:40:18 UTC 2,121 bytes, 57 lines download raw bytes

1; (function ($) { 
2    'use strict';
3
4    $(window).on('load', function () { 
5        $(".bafg-twentytwenty-container").each(function () {
6            if ($(this).attr('bafg-move-slider-on-hover') == '') {
7                var moveSliderHover = false;
8            } else {
9                var moveSliderHover = true;
10            }
11
12            if ($(this).attr('bafg-overlay') == '1') {
13                var overlay = false;
14            } else {
15                var overlay = true;
16            }
17
18            if ($(this).attr('bafg-click-to-move') == '') {
19                var clickToMove = false;
20            } else {
21                var clickToMove = true;
22            }
23
24            $(this).twentytwenty({
25                orientation: $(this).attr('bafg-orientation'),
26                default_offset_pct: $(this).attr('bafg-default-offset'),
27                before_label: $(this).attr('bafg-before-label'),
28                after_label: $(this).attr('bafg-after-label'),
29                no_overlay: overlay,
30                move_slider_on_hover: moveSliderHover,
31                click_to_move: clickToMove
32            });
33 
34            
35            //Label OutSide
36            var bafgLabelOutside = $(this).data('label_outside');
37            var orientation = $(this).attr('bafg-orientation');
38            if (bafgLabelOutside == true && orientation == 'vertical') {
39                $('.bafg-outside-label-wrapper.twentytwenty-vertical .bafg-twentytwenty-container').css('margin', 50 + 'px' + ' auto');
40
41                $('.bafg-outside-label-wrapper.twentytwenty-vertical .twentytwenty-overlay>.twentytwenty-before-label').css('display', 'none');
42                $('.bafg-outside-label-wrapper.twentytwenty-vertical .twentytwenty-overlay .twentytwenty-after-label').css('display', 'none');
43            }
44             
45            $(window).trigger("resize.twentytwenty");
46        });
47        
48    });
49    
50    $(window).on('scroll', function () {
51        $(window).trigger("resize.twentytwenty");
52    });
53    $(document).on('load', function () {
54        $(document).trigger("resize.twentytwenty");
55    });
56 
57})(jQuery);

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.