PageSourceSearch

https://www.lifeislikethat.com/wp-content/plugins/javapaper-for-elementor/assets/js/custom.js?ver=7.1.2

js lifeislikethat.com collected 2026-10-02 10:49:27 UTC 4,435 bytes, 159 lines download raw bytes

1jQuery.noConflict();
2
3(function($) {
4"use strict";
5	/*
6	Thanks the code for http://www.queness.com/
7	*/
8	jQuery(document).ready(function(){
9	
10// TAB LATEST, POPULAR, COMMENTS 	
11		$('#mask').css({'height':$('#panel-1').height()});
12		$('#panel').width(parseInt($('#mask').width() * $('#panel div').length));
13		$('#panel div').width($('#mask').width());
14		$('a[rel=alternate]').click(function () {
15			var panelheight = $($(this).attr('href')).height();
16			$('a[rel=alternate]').removeClass('selected');
17			$(this).addClass('selected');
18			$('#mask').animate({'height':panelheight},{queue:false, duration:500});
19			$('#mask').scrollTo($(this).attr('href'), 800);
20			return false;
21		});
22//	J MODULE 5 HOTNEWS
23			if( $('#carmod5').length ){
24				$('#carmod5').carouFredSel({
25					responsive: true,
26					prev: '#prevmod5',
27					next: '#nextmod5',
28			        direction : "up",	
29					auto: true,
30					scroll: {
31					duration: 750,
32					pauseOnHover: true	
33						},
34					items: {
35					height: 'variable',					
36					visible: {
37						min: 1,
38						max: 1
39						}
40					}
41				});
42			}
43
44   // FOR SCROLL STICKY AREA 		
45        $('.category1-wrapperinside .sidebar, .single2-wrapper .sidebar')
46            .theiaStickySidebar({
47                additionalMarginTop: 30,
48                additionalMarginBottom: 30
49            });
50//	progress bar
51$(document).ready(function () {
52    $('.bar span').each(function () {
53        var $percent = $(this).data('width') * 0.8;
54        $(this).animate({
55            width: $percent + "%"
56        }, {
57            duration: 5000
58        });
59    });
60});
61
62
63
64	
65
66	
67		
68//	j MODULE 6 Carousel post by category
69$('.carcat').each(function(i) {
70	var newClass = 'newClass' + i;
71	var newNext = 'nextNew' + i;
72	var newPrev = 'prevNew' + i;
73
74	$(this).addClass(newClass)
75		.parent().find('.next6')
76		.addClass(newNext);
77
78	$(this).parent().find('.prev6')
79		.addClass(newPrev);
80
81	$('.' + newClass).carouFredSel({
82		responsive: true,
83		prev: '.' + newPrev,
84		next: '.' + newNext,
85		auto: true,
86		scroll: {
87		duration: 1000,
88		pauseOnHover: true
89		},
90		items: {
91			height: 'variable',
92		visible: {
93			min: 4,
94			max: 4
95      }
96    }
97
98  });
99});
100// ADDING CLASS TO FIRST LETTER	
101$(".module31-content p:nth-child(1),.module4-text p:nth-child(1),.module30-text  p:nth-child(1),.module30-content p:nth-child(2),.module25-wrapper p:nth-child(2),.module22-text p:nth-child(2)").each(function () {
102      var el = $(this),
103            text = el.html(),
104            first = text.slice(0, 1),
105            rest = text.slice(1);
106      el.html("<span class='firstletter'>" + first + "</span>" + rest);
107});
108//	CREATE COLUMNS
109	$('.module4-content,.module5b-column,.module25-article, .module30-content').columnize({
110		width:400,
111		columns : 4,
112		buildOnce : true,
113		lastNeverTallest: true
114	
115	});
116	$('.module9-content, .module31-content').columnize({
117		width:400,
118		columns : 2,
119		lastNeverTallest: true
120	});			
121			
122
123
124
125function openNav() {
126  document.getElementById("mySidenav").style.width = "300px";
127}
128
129function closeNav() {
130  document.getElementById("mySidenav").style.width = "0";
131}
132
133//	ADD SPAN TO MONTH ON CALENDAR
134	$('#wp-calendar > caption').each(function(){
135	var featureTitle = $(this);
136		featureTitle.html( featureTitle.text().replace(/(^\w+)/,'<span>$1</span>') );
137	});
138//EQUAL THE HEIGHT on MODULE 4  
139	var div_one_width = $(".module4-left").width(); //get the first div width
140	var div_one_height = $(".module4-left").height(); // get the second div height.
141	$(".module4-right").css({"height":div_one_height+'px'}) 
142
143	var div_one_width = $(".module5-bottomleft").width(); //get the first div width
144	var div_one_height = $(".module5-bottomleft").height(); // get the second div height.
145	$(".module5-bottomright2").css({"height":div_one_height+'px'}) 	
146
147//EQUAL THE HEIGHT on MODULE 4  
148	var div_one_width = $(".module4-left").width(); //get the first div width
149	var div_one_height = $(".module4-left").height(); // get the second div height.
150	$(".module4-right").css({"height":div_one_height+'px'}) 
151
152//EQUAL THE HEIGHT on MODULE 31  
153	var div_one_width = $(".module31-left").width(); //get the first div width
154	var div_one_height = $(".module31-left").height(); // get the second div height.
155	$(".module31-right").css({"height":div_one_height+'px'}) 	
156
157				
158  });				
159})(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.