AlkantarClanX12

Your IP : 18.188.223.120


Current Path : /proc/self/root/home/thanudqk/128shen.com/wp-content/themes/thegem/js/
Upload File :
Current File : //proc/self/root/home/thanudqk/128shen.com/wp-content/themes/thegem/js/thegem-parallax-footer.js

(function($){

	$.updateParalaxFooter = function() {
		var $footer = $('.parallax-footer').first();
		if($footer.size() == 0) return ;
		$footer.thegemPreloader(function() {
			$('#page').css({marginBottom: ''});
			$footer.removeClass('parallax-footer-inited');
			if($footer.outerHeight() + $('#site-header').outerHeight() > $(window).height()) return ;
			$footer.addClass('parallax-footer-inited');
			$('#page').css({marginBottom: $footer.outerHeight()+'px'});
		});
	}

	$(function() {
		$.updateParalaxFooter();
	});

	$(window).resize(function() {
		$.updateParalaxFooter();
	});

})(jQuery);