PageSourceSearch

https://miora.org/wp-content/themes/chariton/assets/js/chariton-main.js?ver=1.0.0

js miora.org collected 2026-10-04 02:07:03 UTC 2,117 bytes, 112 lines download raw bytes

1(function ($) {
2"use strict";
3
4$(window).on('load', function () {
5	wowanimation();
6	textanimation();
7});
8
9// meanmenu
10$('#mobile-menu').meanmenu({
11	meanMenuContainer: '.mobile-menu',
12	meanScreenWidth: "991"
13});
14
15
16// sticky
17$(window).on('scroll', function () {
18	var scroll = $(window).scrollTop();
19	if (scroll < 245) {
20		$("#header-sticky").removeClass("sticky-menu");
21		$(".stricky-height-fix").removeClass("menufix-height ");
22	} else {
23		$("#header-sticky").addClass("sticky-menu");
24		$(".stricky-height-fix").addClass("menufix-height ");
25	}
26});
27
28
29// data - background
30$("[data-background]").each(function () {
31	$(this).css("background-image", "url(" + $(this).attr("data-background") + ")")
32})
33
34
35// blog
36$('.blog-thumb-active').slick({
37	dots: false,
38	infinite: true,
39	arrows: true,
40	speed: 1500,
41	slidesToShow: 1,
42	slidesToScroll: 1,
43	fade: true,
44	prevArrow: '<button type="button" class="slick-prev"><i class="fas fa-arrow-left"></i></button>',
45	nextArrow: '<button type="button" class="slick-next"><i class="fas fa-arrow-right"></i></button>',
46});
47
48
49// Textillate
50function textanimation() {
51	$('.tlt').textillate({
52		in: {
53			delayScale: 4,
54			delay: 50,
55			callback: function () {}
56		},
57	});
58}
59
60// counterUp
61$('.count').counterUp({
62	delay: 10,
63	time: 2000
64});
65
66
67/* magnificPopup img view */
68$('.chariton-popup-image').magnificPopup({
69	type: 'image',
70	gallery: {
71	  enabled: true
72	},
73	zoom: {
74		enabled: true,
75		duration: 500,
76		easing: 'ease-in-out',
77	}
78});
79
80/* magnificPopup video view */
81$('.popup-video').magnificPopup({
82	type: 'iframe'
83});
84
85
86//for menu active class
87$('.causes-menu button,.events-menu button').on('click', function(event) {
88	$(this).siblings('.active').removeClass('active');
89	$(this).addClass('active');
90	event.preventDefault();
91});
92
93
94// aos-active
95AOS.init({
96	duration: 1000,
97	mirror: true
98});
99
100// WOW active
101function wowanimation() {
102	var wow = new WOW({
103		boxClass: 'wow',
104		animateClass: 'animated',
105		offset: 0,
106		mobile: false,
107		live: true
108	});
109	wow.init();
110}
111
112})(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.