PageSourceSearch

https://chuckandersonjazzguitar.com/wp-content/plugins/ml-slider/t…/precognition/v1.0.0/script.js?ver=3.113.0

js chuckandersonjazzguitar.com collected 2026-10-02 19:55:27 UTC 1,755 bytes, 56 lines download raw bytes

1(function($) {
2   // metaslider has been initilalised
3	$(document).on('metaslider/initialized', function (e, identifier) {
4		// if .ms-theme-precognition
5		var $wrapper = $(identifier).closest('.metaslider.ms-theme-precognition');
6		if ($wrapper.length) {
7			var $slider = $(identifier);
8			var $container = $(identifier).closest('.metaslider.ms-theme-precognition');
9			var captions = $slider.find('.caption');
10			if (captions.length) {
11				$container.addClass('ms-has-caption');
12			}
13
14			// Revert nav and slides order
15			var slides = $slider.find('ul.slides');
16			if (slides.length) {
17				var nav = $slider.find('.flex-control-nav').detach();
18				nav.insertAfter(slides);
19
20				// Update nav dots with image titles
21				if (!$wrapper.hasClass('has-carousel-mode') && ($wrapper.hasClass('has-dots-nav') || $wrapper.hasClass('has-dots-onhover-navigation'))) {
22					var id = $slider.attr('id').split('_')[1] || '';
23					var slideItems = slides.find('> li:not(.clone)');
24					var navItems = nav.find('li > a');
25
26					nav.addClass('titleNav-' + id).removeClass('flex-control-paging');
27
28					slideItems.each(function(index) {
29						var title = $(this).find('img').attr('title') || '';
30						if (title) {
31							navItems.eq(index).text(title);
32						}
33					});
34				}
35			}
36			
37			$container.addClass('ms-loaded');
38		}
39		$(window).trigger('resize');
40	});
41
42   $(window).on('load resize', function(e) {
43		// go through the sliders with this theme
44		$('.metaslider').each(function(index) {
45			var width = $(this).outerWidth();
46			if (width < 800) {
47				$(this).addClass('ms-is-small');
48			} else {
49				$(this).removeClass('ms-is-small');
50			}
51		});
52	});
53   $(window).on('load', function() {
54      $(".nivo-control, .cs-buttons a").wrap("<li></li>");
55	});
56})(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.