PageSourceSearch

https://www.ville-beaufort.fr/wp-content/plugins/ova-team/assets/js/script-elementor.js?ver=7.1.2

js ville-beaufort.fr collected 2026-10-02 09:54:19 UTC 4,759 bytes, 142 lines download raw bytes

1(function($){
2	"use strict";
3
4	$(window).on('elementor/frontend/init', function () {
5
6		
7		/* Form email */
8      elementorFrontend.hooks.addAction('frontend/element_ready/ova_form_mail.default', function(){
9         $('.ova-form-mail input[type="submit"]').on('click', function(e){
10
11            var that = $(this);
12            var flag = true;
13            $('.ova-form-mail .con .input .error').css({'display':'none'});
14            that.closest('.ova-form-mail').find('.field').each(function( index ){
15               if( $(this).hasClass('required') && $(this).val() == '' ){
16                  flag = false;
17                  $(this).parent('.input').children('.error').css({'display':'block'});
18               }
19            });
20
21            if( ! flag ){
22               e.preventDefault();
23               return false;
24            }
25            
26         })
27      });
28      /* end Form email */
29
30      /* team slider */
31      elementorFrontend.hooks.addAction('frontend/element_ready/ova_team_slider.default', function(){
32         $(".slide-team").each(function(){
33              var owlsl = $(this) ;
34              var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {};
35
36              if ( $('body').hasClass('rtl') ) {
37                owlsl_ops.rtl = true;
38              }
39
40              var responsive_value = {
41                  0:{
42                    items:1,
43                    nav:false
44                  },
45                  576:{
46                    items:1
47
48                  },
49                  992:{
50                    items:2
51                  },
52                  1170:{
53                    items:owlsl_ops.items
54                  }
55              };
56              
57              owlsl.owlCarousel({
58                autoWidth: owlsl_ops.autoWidth,
59                margin: owlsl_ops.margin,
60                items: owlsl_ops.items,
61                loop: owlsl_ops.loop,
62                autoplay: owlsl_ops.autoplay,
63                autoplayTimeout: owlsl_ops.autoplayTimeout,
64                center: owlsl_ops.center,
65                nav: owlsl_ops.nav,
66                dots: owlsl_ops.dots,
67                thumbs: owlsl_ops.thumbs,
68                autoplayHoverPause: owlsl_ops.autoplayHoverPause,
69                slideBy: owlsl_ops.slideBy,
70                smartSpeed: owlsl_ops.smartSpeed,
71                rtl: owlsl_ops.rtl,
72                navText:[
73                '<i class="fa fa-angle-left" ></i>',
74                '<i class="fa fa-angle-right" ></i>'
75                ],
76                responsive: responsive_value,
77              });
78
79              /* Fixed WCAG */
80              owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous");
81              owlsl.find(".owl-nav button.owl-next").attr("title", "Next");
82              owlsl.find(".owl-dots button").attr("title", "Dots");
83
84            });
85      });
86      /* end team slider */
87
88      /* team slider 2 */
89      elementorFrontend.hooks.addAction('frontend/element_ready/ova_team_slider_2.default', function(){
90         $(".slide-team").each(function(){
91              var owlsl = $(this) ;
92              var owlsl_ops = owlsl.data('options') ? owlsl.data('options') : {};
93
94              var responsive_value = {
95                  0:{
96                    items:1,
97                    nav:false
98                  },
99                  576:{
100                    items:1
101
102                  },
103                  992:{
104                    items:2
105                  },
106                  1170:{
107                    items:owlsl_ops.items
108                  }
109              };
110              
111              owlsl.owlCarousel({
112                autoWidth: owlsl_ops.autoWidth,
113                margin: owlsl_ops.margin,
114                items: owlsl_ops.items,
115                loop: owlsl_ops.loop,
116                autoplay: owlsl_ops.autoplay,
117                autoplayTimeout: owlsl_ops.autoplayTimeout,
118                center: owlsl_ops.center,
119                nav: owlsl_ops.nav,
120                dots: owlsl_ops.dots,
121                thumbs: owlsl_ops.thumbs,
122                autoplayHoverPause: owlsl_ops.autoplayHoverPause,
123                slideBy: owlsl_ops.slideBy,
124                smartSpeed: owlsl_ops.smartSpeed,
125                navText:[
126                '<i class="fa fa-angle-left" ></i>',
127                '<i class="fa fa-angle-right" ></i>'
128                ],
129                responsive: responsive_value,
130              });
131
132              /* Fixed WCAG */
133              owlsl.find(".owl-nav button.owl-prev").attr("title", "Previous");
134              owlsl.find(".owl-nav button.owl-next").attr("title", "Next");
135              owlsl.find(".owl-dots button").attr("title", "Dots");
136
137            });
138      });
139      /* end team slider 2 */
140
141   });
142})(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.