PageSourceSearch

https://rahiseedbank.com.au/wp-content/themes/kartpul/js/megnor/megnorloadmore.js?ver=6.8.11

js rahiseedbank.com.au collected 2026-10-10 02:01:00 UTC 2,284 bytes, 58 lines download raw bytes

1// JavaScript Document
2// JS for calling load more for home page product
3function loadmore() {
4	"use strict";							 
5  	var size_li = jQuery(".woosale .products li").size();
6	var size_li_new = jQuery(".woonew .products li").size();
7	var size_li_best = jQuery(".woobest .products li").size();
8	var size_li_feature = jQuery(".woofeature .products li").size();
9				
10	var counter=parseInt(php_var.tmpmela_loadmore);		
11	var x=8;
12	var y=8;
13	var z=8;
14	var a=8;
15	jQuery('.woosale .products li:lt('+x+')').css('display','inline-block');
16	jQuery('.woonew .products li:lt('+y+')').css('display','inline-block');
17	jQuery('.woobest .products li:lt('+z+')').css('display','inline-block');
18	jQuery('.woofeature .products li:lt('+a+')').css('display','inline-block');
19	    	
20    jQuery('.woosale .woocount').click(function () {
21	if(x==size_li){									 			
22			 jQuery('.woosale .woocount').hide();
23			 jQuery('.woosale .tmpmela-message').show();
24	}else{
25		x= (x+counter <= size_li) ? x+counter : size_li;	
26        jQuery('.woosale .products li:lt('+x+')').css('display','inline-block');			
27	}
28    });		    
29	jQuery('.woonew .woocount').click(function () {
30	if(y==size_li_new){									 
31			jQuery('.woonew .woocount').hide();
32			jQuery('.woonew .tmpmela-message').show();
33	}else{
34		y= (y+counter <= size_li_new) ? y+counter : size_li_new;
35        jQuery('.woonew .products li:lt('+y+')').css('display','inline-block');
36	}
37    });	   
38	jQuery('.woobest .woocount').click(function () {
39	if(z==size_li_best){									 
40			jQuery('.woobest .woocount').hide();
41			jQuery('.woobest .tmpmela-message').show();
42	}else{
43		z= (z+counter <= size_li_best) ? z+counter : size_li_best;
44        jQuery('.woobest .products li:lt('+z+')').css('display','inline-block');
45	}
46    });	
47	jQuery('.woofeature .woocount').click(function () {
48	if(a==size_li_feature){									 
49			jQuery('.woofeature .woocount').hide();
50			jQuery('.woofeature .tmpmela-message').show();
51	}else{
52		a= (a+counter <= size_li_feature) ? a+counter : size_li_feature;
53        jQuery('.woofeature .products li:lt('+a+')').css('display','inline-block');
54	}
55    });	
56}
57jQuery(document).ready(function() {"use strict";loadmore()});
58jQuery(window).resize(function() {"use strict";loadmore()});

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.