PageSourceSearch

https://eska-karate.org/sites/default/files/js/js_u44Oqwhtfchwt0LWhAtLd2TSzUnQ9P6mx_csAA5d5Z4.js

js eska-karate.org collected 2026-10-10 01:27:39 UTC 2,882 bytes, 55 lines download raw bytes

1/**
2 * @file
3 * Attaches the behaviors for the Nivo Slider module.
4 */
5
6(function ($) {
7  Drupal.behaviors.eska_nivoSlider = {
8    doInstall: function(context, settings){
9        $('.eskaSlider').nivoSlider({
10        'effect': Drupal.settings.nivo_slider.effect, // Specify sets like: 'fold,fade,sliceDown'
11        'slices': Drupal.settings.nivo_slider.slices, // For slice animations
12        'boxCols': Drupal.settings.nivo_slider.boxCols, // For box animations
13        'boxRows': Drupal.settings.nivo_slider.boxRows, // For box animations
14        'animSpeed': Drupal.settings.nivo_slider.animSpeed, // Slide transition speed
15        'pauseTime': Drupal.settings.nivo_slider.pauseTime, // How long each slide will show
16        'startSlide': Drupal.settings.nivo_slider.startSlide, // Set starting Slide (0 index)
17        'directionNav': Drupal.settings.nivo_slider.directionNav, // Next & Prev navigation
18        'directionNavHide': Drupal.settings.nivo_slider.directionNavHide, // Only show on hover
19        'controlNav': Drupal.settings.nivo_slider.controlNav, // 1,2,3... navigation
20        'controlNavThumbs': Drupal.settings.nivo_slider.controlNavThumbs, // Use thumbnails for Control Nav
21        'pauseOnHover': Drupal.settings.nivo_slider.pauseOnHover, // Stop animation while hovering
22        'manualAdvance': Drupal.settings.nivo_slider.manualAdvance, // Force manual transitions
23        'prevText': Drupal.settings.nivo_slider.prevText, // Prev directionNav text
24        'nextText': Drupal.settings.nivo_slider.nextText, // Next directionNav text
25        'randomStart': Drupal.settings.nivo_slider.randomStart, // Start on a random slide
26        'beforeChange': Drupal.settings.nivo_slider.beforeChange, // Triggers before a slide transition
27        'afterChange': Drupal.settings.nivo_slider.afterChange, // Triggers after a slide transition
28        'slideshowEnd': Drupal.settings.nivo_slider.slideshowEnd, // Triggers after all slides have been shown
29        'lastSlide': Drupal.settings.nivo_slider.lastSlide, // Triggers when last slide is shown
30        'afterLoad': Drupal.settings.nivo_slider.afterLoad // Triggers when slider has loaded
31      });
32    },
33    addBannerFiles: function(context, settings){
34      var t = this;
35      $.ajax("/sites/default/bannerFiles.php").done(
36        function(data){
37		   var added = $(".title").before(
38		     '<div class="slider-wrapper theme-light theme-bar theme-default theme-dark">' +
39			    '<div class="ribbon" />' +
40				'<div id="slider" class="nivoSlider eskaSlider">' +
41				data +
42				"</div>" +
43			 '</div>'
44		   );
45           t.doInstall(context, settings);
46        }	
47      );
48    },
49    attach: function (context, settings) {
50      if (Drupal.settings.nivo_slider){
51          this.addBannerFiles(context, settings);       
52      }      
53    }
54  };
55}(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.