$('#cel').text(Math.random()*1000);
      $('#cel').each(function() {
        var $this = $(this);
        $({Counter:0}).animate({Counter:$this.text()}, {
          duration: 5000,
          easing: 'easeOutExpo',
          step: function() {
            $this.text(Math.ceil(this.Counter));
          }
        });
      });

'WEB > HTML' 카테고리의 다른 글

HTML 페이지에 공백(space) 삽입  (0) 2015.01.01
page loading 시 scrolling  (0) 2012.08.19
HTML 태그 총정리  (0) 2012.08.15
HTML 페이지 프레임 나누기  (0) 2012.08.14
HTML에 웹폰트 적용하기  (0) 2012.08.12

+ Recent posts