PageSourceSearch

https://arresala.org.br/wp-content/themes/cascara/assets/js/load-more-tab.js?ver=1.8.0

js arresala.org.br collected 2026-10-02 13:55:13 UTC 1,586 bytes, 54 lines download raw bytes

1;jQuery(document).ready(function($) {
2	/**
3	 * Load category tab.
4	 */
5
6	$('.nav.filter-buttons').on('click', 'a', function(e) {
7		e.preventDefault();
8
9		$('.nav.filter-buttons a').removeClass('active');
10		$(this).addClass('active');
11
12		var cat_ids = $(this).data('ids'),
13			cat 	= $(this).data('cat'),
14			order 	= $(this).data('order'),
15			orderby = $(this).data('orderby'),
16			loader 	= $(this).data('loader');
17			key 	= $(this).data('key');
18
19		$.ajax({
20			type: 'POST',
21			dataType: 'html',
22			url: cascara_admin_url.ajaxurl,
23			data: {
24				'cat'		: cat,
25				'key'		: key,
26				'cat_ids'	: cat_ids,
27				'order'		: order,
28				'orderby'	: orderby,
29				'action'	: 'cascara_cat_ajax'
30			},
31			beforeSend : function () {
32				var height = $(".nwshb-cat-tabdata").height();
33				$('.nwshb-cat-tabdata').prepend('<div class="post-spinner" style="height: ' + height + 'px;"><div class="loader-wrap"><div class="loader"><div class="loader-inner ' + loader + '"></div></div></div></div>');
34				$('.loader-inner').loaders();
35			},
36			success: function (data) {
37				$(".nwshb-cat-tabdata").html(data);
38				// Lazy Load Image
39			  $('.cscra-image img, .cscra-promotion img').lazy({
40			    effect: "fadeIn",
41			    effectTime: 500,
42			    visibleOnly: true,
43			    threshold: 0
44			  });
45			  //Cascara Get Data Color Script
46			  $('.post-category a').each(function() {
47			    var $this = $(this);
48			    $this.css('color', $this.attr('data-color'));
49			    $this.css('background-color', $this.attr('data-bgcolor'));
50			  });
51			},
52		});
53	});
54});

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.