PageSourceSearch

https://internacionales.uba.ar/wp-content/plugins/ultimate-addons-…/range-slider/js/range-slider.js?ver=7.1.2

js uba.ar collected 2026-09-24 08:24:49 UTC 3,466 bytes, 69 lines download raw bytes

1; (function ($) {
2  'use strict';
3  $(document).ready(function () {
4    $('.uacf7-slider.uacf7-range').each(function () {
5      
6      $(document).on('input', '.uacf7-slider.uacf7-range', function(){ 
7          $(this).parent().parent().find('.uacf7-value').text($(this).val());
8          
9        }); 
10    });
11    function  multistep_range_slider() {
12      $( ".multistep_slide" ).each(function() {
13        var handle = $(this).parent().parent().find(".uacf7-slider-handle").data("handle"); 
14        var min = $(this).parent().parent().find(".uacf7-slider-handle").data("min");
15        
16        var step = $(this).parent().parent().find(".uacf7-slider-handle").data("step");
17        var max = $(this).parent().parent().find(".uacf7-slider-handle").data("max");
18        var separator = $(this).parent().parent().find(".uacf7-slider-handle").data("separator");
19        var label = $(this).parent().parent().find(".uacf7-slider-handle").data("label");
20        var def = $(this).parent().parent().find(".uacf7-slider-handle").data("default");
21        if (handle == 2) { 
22            $(this).slider({
23              range: true,
24              min: min,
25              step: step,
26              max: max,
27              values: [min, def],
28              slide: function (event, ui) {
29                $(this).parent().parent().find("#uacf7-amount").val(ui.values[0] +  " "+label+" " + " "+separator+" " + ui.values[1] +  " "+label+" ");
30                $(this).parent().parent().find(".uacf7-amount").text(ui.values[0] +  " "+label+" " + " "+separator+" " + ui.values[1] +  " "+label+" " );
31              }
32            });
33            $(this).parent().parent().find("#uacf7-amount").val($(this).slider("values", 0) + " - " + $(this).slider("values", 1));
34            $(this).parent().parent().find(".uacf7-amount").val($(this).slider("values", 0) + " - " + $(this).slider("values", 1));
35        }
36      });
37    }
38    multistep_range_slider();
39
40    // For Repeater Range Slider
41    $(document).on('click', '.uacf7_repeater_add', function(){ 
42      multistep_range_slider();
43    });
44    $( ".mutli_range_slide" ).each(function() {
45      var handle = $(this).parent().parent().find(".uacf7-slider-handle").data("handle");
46      var min = $(this).parent().parent().find(".uacf7-slider-handle").data("min");
47      var step = $(this).parent().parent().find(".uacf7-slider-handle").data("step");
48      var style = $(this).parent().parent().find(".uacf7-slider-handle").data("style");
49      var max = $(this).parent().parent().find(".uacf7-slider-handle").data("max");
50      var def = $(this).parent().parent().find(".uacf7-slider-handle").data("default");
51      if (handle == 2) { 
52           $(this).slider({
53            range: true,
54            min: min,
55            step: step,
56            max: max,
57            values: [min, def],
58            slide: function (event, ui) {
59              $(this).parent().parent().find("#uacf7-amount").val(ui.values[0] + " - " + ui.values[1]); 
60              $(this).parent().parent().find(".min-value-"+style+"").text(ui.values[0]);
61              $(this).parent().parent().find(".max-value-"+style+"").text(ui.values[1]);
62            }
63          });
64          $(this).parent().parent().find("#uacf7-amount").val($(this).slider("values", 0) + " - " + $(this).slider("values", 1));
65          $(this).parent().parent().find(".uacf7-amount").val($(this).slider("values", 0) + " - " + $(this).slider("values", 1));
66      }
67    }); 
68  }) 
69})(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.