PageSourceSearch

https://www.jhrl.com/sites/all/modules/contrib/royalslider/js/royalslider.load.js?tlse4v

js jhrl.com collected 2026-10-06 13:18:56 UTC 1,137 bytes, 31 lines download raw bytes

1/**
2 * @file
3 * RoyalSlider loader.
4 */
5(function ($, Drupal) {
6  Drupal.behaviors.royalslider = {
7    attach: function(context, settings) {
8      if (settings.royalslider) {
9        if (settings.royalslider.instances) {
10          for (var id in settings.royalslider.instances) {
11            var $slider = $('#' + id, context),
12              optionset_name = settings.royalslider.instances[id].optionset,
13              optionset = settings.royalslider.optionsets[optionset_name];
14
15            // Override slider auto-scale dimensions.
16            if (settings.royalslider.instances[id].slider_width) {
17              optionset.autoScaleSliderWidth = settings.royalslider.instances[id].slider_width;
18              $slider.css('width', optionset.autoScaleSliderWidth);
19            }
20            if (settings.royalslider.instances[id].slider_height) {
21              optionset.autoScaleSliderHeight = settings.royalslider.instances[id].slider_height;
22              $slider.css('height', optionset.autoScaleSliderHeight );
23            }
24
25            $slider.royalSlider(optionset);
26          }
27        }
28      }
29    }
30  };
31})(jQuery, Drupal);

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.