File "custom.js"

Full path: E:/sites/Single15/tinmung2007/webroot/thien chua/ThienChuavaTranThe/thien chua va tran the/js/custom.js
File size: 753 B
MIME-type:
Charset: utf-8

Download   Open   Back

	$(".js-height-full").height($(window).height());
        $(".js-height-parent").each(function(){
        $(this).height($(this).parent().first().height());
    });
	function count($this){
		var current = parseInt($this.html(), 10);
		current = current + 1; /* Where 50 is increment */
		
		$this.html(++current);
			if(current > $this.data('count')){
				$this.html($this.data('count'));
			} else {    
				setTimeout(function(){count($this)}, 50);
			}
		}        
		
		$(".stat-timer").each(function() {
		  $(this).data('count', parseInt($(this).html(), 10));
		  $(this).html('0');
		  count($(this));
	});
	$('#header').affix({
		offset: {
			top: 100,
			bottom: function() {
			return (this.bottom = $('.footer').outerHeight(true))
			}
		}
	})

PHP File Manager