As of jQuery 1.6.4, the animate of using -=% works just fine, but in jQuery 1.7, this fails to do so and animates in pixels. Usage Documentation Download and include the jQuery library and the NumScroller plugin in your web page. So, if you want to perform different animations after each other, we take advantage of the queue functionality: There must be a bullet proof way of doing this without writing pages of code. good for stat counters. In this article, we’re going to create an animated number counter using JQuery. GitHub Gist: instantly share code, notes, and snippets. If you ever find yourself needing to know how many child elements an HTML element has, you're in luck, because there's a jQuery function for that. Buy countup plugins, code & scripts from $7. $('div').animate({ width: What the code does, is that the number 8000 is counting up from 0 to 8000. Contribute to miso25/countid development by creating an account on GitHub. (Scroll down)