PageSourceSearch

https://werethejoneses.com/wp-content/plugins/wc-shortcodes/public/assets/js/posts-grid.js?ver=3.46

js werethejoneses.com collected 2026-10-03 22:29:45 UTC 2,238 bytes, 55 lines download raw bytes

1( function( $ ) {
2	"use strict";
3
4	$('.wc-shortcodes-posts.wc-shortcodes-posts-layout-grid').each( function() {
5		var $container = $(this);
6		var $posts = $container.children('.wc-shortcodes-post-box');
7
8		$container.find(".wc-shortcodes-post-box .rslides").responsiveSlides({
9			auto: false,             // Boolean: Animate automatically, true or false
10			speed: 500,            // Integer: Speed of the transition, in milliseconds
11			timeout: 4000,          // Integer: Time between slide transitions, in milliseconds
12			pager: false,           // Boolean: Show pager, true or false
13			nav: true,             // Boolean: Show navigation, true or false
14			random: false,          // Boolean: Randomize the order of the slides, true or false
15			pause: false,           // Boolean: Pause on hover, true or false
16			pauseControls: true,    // Boolean: Pause when hovering controls, true or false
17			prevText: "",   // String: Text for the "previous" button
18			nextText: "",       // String: Text for the "next" button
19			maxwidth: "",           // Integer: Max-width of the slideshow, in pixels
20			navContainer: "",       // Selector: Where controls should be appended to, default is after the 'ul'
21			manualControls: "",     // Selector: Declare custom pager navigation
22			namespace: "rslides",   // String: Change the default namespace used
23			before: function(){},   // Function: Before callback
24			after: function(){}// Function: After callback
25		});
26	});
27
28	var $filterNav = $('.wc-shortcodes-filtering.wc-shortcodes-filtering-dynamic.wc-shortcodes-filtering-layout-grid');
29	var $term = $filterNav.find('.wc-shortcodes-term');
30	$term.click( function( event ) {
31		event.preventDefault();
32
33		$term.removeClass('wc-shortcodes-term-active');
34		$(this).addClass('wc-shortcodes-term-active');
35
36		var selector = $(this).attr('data-filter');
37		var target = $filterNav.data('target');
38		var $target = $(target);
39		var $targetPosts = $target.children('.wc-shortcodes-post-box');
40		$target.animate({opacity: 0}, 300, function() {
41			if ( '*' == selector ) {
42				$targetPosts.show();
43			}
44			else {
45				$targetPosts.hide();
46				$target.find(selector).show();
47			}
48
49			$target.animate({opacity: 1}, 300);
50		});
51
52		return false;
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.