PageSourceSearch

https://www.metrodetroitrpm.com/wp-content/plugins/responsive-lightbox-pro/assets/js/script.js?ver=7.1.2

js metrodetroitrpm.com collected 2026-10-04 09:06:23 UTC 1,486 bytes, 50 lines download raw bytes

1jQuery(document).ready(function($) {
2
3	$(document).on('ready'+rlpArgs.custom_events, function() {
4	 if(rlpArgs.script === 'nivo_lightbox') {
5			$.each($('a[rel*="'+rlpArgs.selector+'"]'), function() {
6				var match = $(this).attr('rel').match(new RegExp(rlpArgs.selector+'\\[(gallery\\-(?:[\\da-z]{1,4}))\\]', 'ig'));
7
8				if(match !== null) {
9					$(this).attr('data-lightbox-gallery', match[0]);
10				}
11			});
12
13			$('a[rel*="'+rlpArgs.selector+'"]').nivoLightbox({
14				theme: rlpArgs.theme,
15				effect: rlpArgs.effect,
16				clickOverlayToClose: (rlpArgs.clickOverlayToClose === '1' ? true : false),
17				keyboardNav: (rlpArgs.keyboardNav === '1' ? true : false),
18				errorMessage: rlpArgs.errorMessage,
19				onPrev: function() {$('.nivo-lightbox-content').hide().fadeIn();},
20				onNext: function() {$('.nivo-lightbox-content').hide().fadeIn();},
21				afterShowLightbox: function(){
22 				if(rlpArgs.autoplay_video === '1') {
23						src = $('.nivo-lightbox-content > iframe').attr('src');
24						$('.nivo-lightbox-content > iframe').attr('src', src + '?autoplay=1');
25				}
26
27				}
28			
29			});
30		} 
31
32		 if(rlpArgs.touch_swipe === '1') {
33
34		 	//touch swipe
35			$('body').swipe({
36			excludedElements: "button, input, select, textarea, .noSwipe, body", 
37			    swipeLeft: function(){ $(".nivo-lightbox-next").click(); },
38			    swipeRight: function(){ $(".nivo-lightbox-prev").click(); },
39			     min_move_x: 20,
40			     min_move_y: 20,
41			     //preventDefaultEvents: false
42			});
43
44		 }
45
46	});
47
48
49
50});

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.