PageSourceSearch

https://www.getcertificatetemplates.com/wp-content/themes/mayosis/js/mayosisloadmore.js?ver=1.0

js getcertificatetemplates.com collected 2026-09-28 06:58:04 UTC 3,614 bytes, 117 lines download raw bytes

1jQuery(function($){  	
2    $('.infinite-content').infinitescroll({
3	  navSelector: ".nav-links",
4	  nextSelector: ".nav-links a:first",
5	  itemSelector: ".infinite-post,.infinite-content .product-grid",
6	  loading: {
7		msgText: "Loading more items...",
8		finishedMsg: "Sorry, no more items"
9	  },
10	
11	  errorCallback: function(){ $(".inf-load-more").css("display", "none") }
12	});
13	$(window).unbind('.infscr');
14	$(".inf-load-more").click(function(){
15   		$('.infinite-content').infinitescroll('retrieve');
16        	return false;
17	});
18	$(window).load(function(){
19		if ($('.nav-links a').length) {
20			$('.inf-load-more').css('display','inline-block');
21		} else {
22			$('.inf-load-more').css('display','none');
23		}
24	});
25});
26
27
28jQuery(function($){  	
29    $('.infinite-content-popular').infinitescroll({
30	  navSelector: ".nav-links",
31	  nextSelector: ".nav-links a:first",
32	  itemSelector: ".infinite-post-popular,.infinite-content-popular .product-grid",
33	  loading: {
34		msgText: "Loading more items...",
35		finishedMsg: "Sorry, no more items"
36	  },
37	
38	  errorCallback: function(){ $(".inf-load-more-popular").css("display", "none") }
39	});
40	$(window).unbind('.infscr');
41	$(".inf-load-more-popular").click(function(){
42   		$('.infinite-content-popular').infinitescroll('retrieve');
43        	return false;
44	});
45	$(window).load(function(){
46		if ($('.nav-links a').length) {
47			$('.inf-load-more-popular').css('display','inline-block');
48		} else {
49			$('.inf-load-more-popular').css('display','none');
50		}
51	});
52});
53
54
55jQuery(function($){  
56
57var $container = $('.product-masonry.infinite-content-masonry');
58
59$container.imagesLoaded(function () {
60    $container.isotope({
61        itemSelector: '.infinite-content-masonry .product-masonry-item',
62        filter: '*:not(.hidden),.infinite-content-masonry .product-masonry-item',
63        animationEngine: 'best-available',
64        layoutMode: "masonry",
65       
66       
67    });
68
69    $container.infinitescroll({
70         navSelector: ".nav-links,.pagination",
71	  nextSelector: ".nav-links a:first,.pagination a:first",
72        itemSelector: '.infinite-content-masonry .product-masonry-item', // selector for all items you'll retrieve
73        pixelsFromNavToBottom: Math.round($(window).height() * 2.5),
74        bufferPx: Math.round($(window).height() * 2.5),
75         loading: {
76		msgText: "Loading more items...",
77		finishedMsg: "Sorry, no more items"
78	  },
79    },
80    // call Isotope as a callback
81    function (newElements) {
82        var $newElems = $(newElements);
83        $newElems.imagesLoaded(function () {
84            $container.isotope('insert', $newElems);
85                             
86            setTimeout(function () {
87                $('.infinite-content-masonry .product-masonry').isotope('reLayout');
88                //$('.products-grid-wrap').isotope({
89                //sortBy: 'category',
90                    //sortAscending: false });
91            }, 500);
92        });
93    $('.product-masonry-filter li a').click(function () {
94    var selector = $(this).attr('data-filter');
95    $container.isotope({
96        filter: selector
97    });
98
99    return false;
100}); 
101    });            
102
103});   
104
105$(window).unbind('.infscr');
106	$(".inf-load-more").click(function(){
107   		$('.product-masonry.infinite-content-masonry').infinitescroll('retrieve');
108        	return false;
109	});
110	$(window).load(function(){
111		if ($('.nav-links a').length) {
112			$('.inf-load-more').css('display','inline-block');
113		} else {
114			$('.inf-load-more').css('display','none');
115		}
116	});
117});

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.