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

Dir : /home/trave494/bettingbin.com/wp-content/themes/mercury/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/bettingbin.com/wp-content/themes/mercury/js/scripts.js

jQuery(document).ready(function($) {
	'use strict';

		// Search Block Start

		$('.desktop-search-button').on('click', function(){
		'use strict';
			$('.space-header-search-block').addClass('active');
			setTimeout( function() {
				'use strict';
				$('.space-header-search-block input').focus();
			}, 500 );
		});

		$('.desktop-search-close-button').on('click', function(){
		'use strict';
			$('.space-header-search-block').removeClass('active');
		});

		// Search Block End

		// Mobile Menu Open Start

		$('.space-mobile-menu-icon').on('click', function(){
		'use strict';
			$('.space-mobile-menu').addClass('active');
		});

		$('.space-mobile-menu-close-button').on('click', function(){
		'use strict';
			$('.space-mobile-menu').removeClass('active');
		});

		// Mobile Menu Open End

		// Mobile Children Start

		$(".menu-item-has-children a").on('click', function(event){
			'use strict';
			  event.stopPropagation();
			  location.href = this.href;
		  	});

			$(".menu-item-has-children").on('click', function(){
			'use strict';
		    	  $(this).addClass("toggled");
		    	  if($(".menu-item-has-children").hasClass("toggled"))
		    	  {
		    	  $(this).children("ul").toggle();
			  }
			  $(this).toggleClass("space-up");
		    	  return false;
	  	});

		// Mobile Children End

		// Owl Carousel Start

		$('.space-news-8-items').owlCarousel({
			animateOut: 'fadeOut',
    		animateIn: 'fadeIn',
		    loop: true,
		    margin: 0,
		    nav: true,
		    dots: false,
		    autoHeight: false,
		    navText: ['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'],
		    responsive: {
		        0:{
		            items: 1
		        },
		        600:{
		            items: 1
		        },
		        1000:{
		            items: 1
		        }
		    }
		});

		$('.space-news-9-items').owlCarousel({
			animateOut: 'fadeOut',
    		animateIn: 'fadeIn',
		    loop: true,
		    margin: 0,
		    nav: true,
		    dots: false,
		    autoHeight: true,
		    navText: ['<i class="fas fa-chevron-left"></i>','<i class="fas fa-chevron-right"></i>'],
		    responsive: {
		        0:{
		            items: 1
		        },
		        600:{
		            items: 1
		        },
		        1000:{
		            items: 1
		        }
		    }
		});

		// Owl Carousel End

		// Scroll To Top Start

		if ($('#scrolltop').length) {

		    var scrollTrigger = 100, // px

		        backToTop = function () {
				'use strict';
		            var scrollTop = $(window).scrollTop();
		            if (scrollTop > scrollTrigger) {
		                $('#scrolltop').addClass('show');
		            } else {
		                $('#scrolltop').removeClass('show');
		            }
		        };

		    backToTop();

		    $(window).on('scroll', function () {
			'use strict';
		        backToTop();
		    });

		    $('#scrolltop').on('click', function (e) {
			'use strict';
		        e.preventDefault();
		        $('html,body').animate({
		            scrollTop: 0
		        }, 1000);
		    });

		}

		// Scroll To Top End

});