PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/myvideomania.com/wp-content/themes/hitmag/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/myvideomania.com/wp-content/themes/hitmag/js/scripts.js

jQuery(document).ready(function(){
	jQuery(".hm-search-button-icon").on( "click", function() {
		jQuery(".hm-search-box-container").toggle('fast');
		jQuery(".hm-search-box .search-field").focus();
		jQuery(this).toggleClass("hm-search-close");
	});
});

jQuery(document).ready(function(){

	if ( typeof jQuery.fn.magnificPopup === "undefined" ) {
		return;
	}

	jQuery('.image-link').magnificPopup({
		type: 'image'
	});
});

/* Tabs Widget */
jQuery(document).ready( function() {
	if ( typeof jQuery.fn.tabs === "function" ) {
		jQuery( ".hm-tabs-wdt" ).tabs();
	}
});

/* Featured Slider */
(function(){
	if (typeof Swiper === "function") {
		var thumbSwiper = new Swiper(".hm-thumb-swiper", {
			spaceBetween: 10,
			slidesPerView: 2,
			watchSlidesProgress: true,
			breakpoints: {
				// when window width is >= 320px
				320: {
				  slidesPerView: 3,
				},
				// when window width is >= 480px
				480: {
				  slidesPerView: 4,
				},
				// when window width is >= 640px
				640: {
				  slidesPerView: 5,
				}
			},
			containerModifierClass: 'hm-swiper-',
			noSwipingClass: 'hm-swiper-no-swiping',
			slideActiveClass: 'hm-swiper-slide-active',
			slideBlankClass: 'hm-swiper-slide-invisible-blank',
			slideClass: 'hm-swiper-slide',
			slideDuplicateActiveClass: 'hm-swiper-slide-duplicate-active',
			slideDuplicateClass: 'hm-swiper-slide-duplicate',
			slideDuplicateNextClass: 'hm-swiper-slide-duplicate-next',
			slideDuplicatePrevClass: 'hm-swiper-slide-duplicate-prev',
			slideNextClass: 'hm-swiper-slide-next',
			slidePrevClass: 'hm-swiper-slide-prev',
			slideThumbActiveClass: 'swiper-slide-thumb-active',
			slideVisibleClass: 'hm-swiper-slide-visible',
			wrapperClass: 'hm-swiper-wrapper',
		});
		var swiper = new Swiper(".hm-slider", {
			speed: 500,
			autoplay: {
				delay: 6000,
				disableOnInteraction: false,
				pauseOnMouseEnter: true
			},
			navigation: {
			  nextEl: '.hm-swiper-button-next',
			  prevEl: '.hm-swiper-button-prev',
			},
			thumbs: {
				swiper: thumbSwiper,
			},
			containerModifierClass: 'hm-swiper-',
			noSwipingClass: 'hm-swiper-no-swiping',
			slideActiveClass: 'hm-swiper-slide-active',
			slideBlankClass: 'hm-swiper-slide-invisible-blank',
			slideClass: 'hm-swiper-slide',
			slideDuplicateActiveClass: 'hm-swiper-slide-duplicate-active',
			slideDuplicateClass: 'hm-swiper-slide-duplicate',
			slideDuplicateNextClass: 'hm-swiper-slide-duplicate-next',
			slideDuplicatePrevClass: 'hm-swiper-slide-duplicate-prev',
			slideNextClass: 'hm-swiper-slide-next',
			slidePrevClass: 'hm-swiper-slide-prev',
			slideVisibleClass: 'hm-swiper-slide-visible',
			wrapperClass: 'hm-swiper-wrapper'
		});
	}
})();