Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/www/js/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/www/js/custom.js

/* ========================================================================= */
/*	Preloader
/* ========================================================================= */

jQuery(window).load(function(){

	$("#preloader").fadeOut("slow");

});


$(document).ready(function(){

	/* ========================================================================= */
	/*	Menu item highlighting
	/* ========================================================================= */

	jQuery('#nav .samepagelink').singlePageNav({
		offset: jQuery('#nav').outerHeight(),
		filter: ':not(.external)',
		speed: 1200,
		currentClass: 'current',
		easing: 'easeInOutExpo',
		updateHash: true,
		beforeStart: function() {
			console.log('begin scrolling');
		},
		onComplete: function() {
			console.log('done scrolling');
		}
	});
	
    $(window).scroll(function () {

        if ($(window).scrollTop() > 400) {
            $("#navigation").css("background-color","#ffffff");
            $(".navbar-nav2 li a").addClass('scrollActive');
            $(".navbar-toggle i").css("color","#8b8b8b");
             
        } else {
            $("#navigation").css("background-color","rgba(16, 22, 54, 0.2)");
            $(".navbar-nav2 li a").removeClass('scrollActive');
            $(".navbar-toggle i").css("color","#c68e48");
        }
    });
	
	/* ========================================================================= */
	/*	Fix Slider Height
	/* ========================================================================= */	

	var slideHeight = $(window).height(); 
	var slideWidth = $(window).width();

	$('.custom-slider-block').css({'height':slideHeight});
	
	$('#slider, .carousel.slide, .carousel-inner .item').css({"height": "100vh"});

	$(window).resize(function(){'use strict',
		$('#slider, .carousel.slide, .carousel-inner .item').css({"height": "100vh"});
	});

	$('.carousel').carousel({
	   interval: 10000
	 });
	

	var text = ["<span class='color'>Architect</span>", "<span class='color'>Interior Designer</span>"];
	var index = 0;

	$("#description").fadeTo( 0, 1 );

	setInterval(function(){
	    $("#description").stop().html(text[index]).fadeTo(500,1,function(){
	    	index++;
	        $("#description").delay(400).fadeTo(500,0);
	    	if (index == 2) { //If you added more text then increase the count here
	        	index = 0;
	    	};
	    });
	},1800);


	/* ========================================================================= */
	/*	Portfolio Filtering
	/* ========================================================================= */	
	
	
    // portfolio filtering

    $(".project-wrapper").mixItUp();
	
	
	$(".fancybox").fancybox({
		padding: 0,

		openEffect : 'elastic',
		openSpeed  : 650,

		closeEffect : 'elastic',
		closeSpeed  : 550,

		closeClick : true,
	});
	
	/* ========================================================================= */
	/*	Parallax
	/* ========================================================================= */	
	
	/*$('#facts').parallax("100%"); */
	
	/* ========================================================================= */
	/*	Timer count
	/* ========================================================================= */

	"use strict";
    $(".number-counters").appear(function () {
        $(".number-counters [data-to]").each(function () {
            var e = $(this).attr("data-to");
            $(this).delay(6e3).countTo({
                from: 50,
                to: e,
                speed: 3e3,
                refreshInterval: 50
            })
        })
    });
	
	/* ========================================================================= */
	/*	Back to Top
	/* ========================================================================= */
	
	
    $(window).scroll(function () {
        if ($(window).scrollTop() > 400) {
            $("#back-top").fadeIn(200)
        } else {
            $("#back-top").fadeOut(200)
        }
    });
    $(document).on("click","#back-top", function(){
    //$("#back-top").click(function () {
        $("html, body").stop().animate({
            scrollTop: 0
        }, 1500, "easeInOutExpo")
    });
	
});


// ==========  START GOOGLE MAP ========== //
function initialize() {
    var myLatLng = new google.maps.LatLng(22.402789, 91.822156);

    var mapOptions = {
        zoom: 14,
        center: myLatLng,
        disableDefaultUI: true,
        scrollwheel: false,
        navigationControl: false,
        mapTypeControl: false,
        scaleControl: false,
        draggable: false,
        mapTypeControlOptions: {
            mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'roadatlas']
        }
    };

    var map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);


    var marker = new google.maps.Marker({
        position: myLatLng,
        map: map,
        icon: 'img/location-icon.png',
        title: '',
    });

}

/*google.maps.event.addDomListener(window, "load", initialize);*/
// ========== END GOOGLE MAP ========== //

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42