VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /home/vapecompany/www/wp-content/themes/vapor/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/vapecompany/www/wp-content/themes/vapor/js/custom.js
/*
	Project Name : vapour theme
	Author Company : Ewebcraft
	Project Date:1 jan, 2016
	Author Website : http://www.ewebcraft.com
	Author Email : ewebcraft@gmail.com
*/	

$(window).load(function(){
    $('#loader').fadeOut("slow");
});

(function($) {
	"use strict";

			/* for Animation */

		new WOW().init();

			/* for Animation */

		if($(window).innerWidth() <= 760){
			$('.navbar-collapse a').on('click',function (e) {
		        $('.navbar-collapse').collapse('toggle');
		        //alert('j');
		    });	
		}	 	

		$(".navbar-collapse").css({ maxHeight: $(window).height() - $(".navbar-header").height() + "px" });

			/* Main Slider */

		 var slider = new MasterSlider();
		 slider.setup('mainSlider' , {
			width:1170,
			height:780,
			autoplay:true,
			space:1,
			loop:true,
			dir:"v",
			fullwidth:true,
			centerControls:false,
			speed:60,
			preload:0,
			view:'scale'
		});
		slider.control('arrows');
		slider.control('timebar' , {color:"#e1730f"});
		
		/* Smooth-Scroll */

		$(".scroll").on('click',function(event){			
			event.preventDefault();
			$('html,body').animate({scrollTop:$(this.hash).offset().top}, 2000);
		});

		/* Smooth-Scroll */

		// pretty photo function call
		$("a[data-gal^='prettyPhoto']").prettyPhoto({hook: 'data-gal'});

		//map initialization function
	 	function initialize() {
			var mapCanvas = document.getElementById('map-canvas');

			var mapOptions = {
			  center: new google.maps.LatLng(51.508742,-0.120850), // Set your Location Here
			  zoom: 14,
			  scrollwheel: false,
			  mapTypeId: google.maps.MapTypeId.ROADMAP
			}
			var map = new google.maps.Map(mapCanvas, mapOptions);
		   
		   /*********Start Map Pin code******/
		   var marker = new google.maps.Marker({
			  map: map,
			  title:"Vapour theme",
			  
			  position: new google.maps.LatLng(51.508742,-0.120850) // Set Map Marker Location Here
			  
			});
		   var infowindow = new google.maps.InfoWindow({
				content:"VAPOUR TEMPLATE " // Here you can add your content to show on marker click 
			});
			google.maps.event.addListener(marker, "click", function(){
			  infowindow.open(map,marker);
			});
			/*********End Map Pin code******/
		}

		/*Google Map Initializer*/
	 	google.maps.event.addDomListener(window, 'load', initialize);
		/*End Google Map initializer*/

		
})(jQuery);

		
			
			

VaKeR 2022