jquery-counter
jquery-counter copied to clipboard
Library does not work using jQuery noConflict mode
There is a problem when attempting to use jquery-counter with jQuery's noConflict mode, where $ is not defined, and the jQuery object is used instead. This is particularly an issue when used on WordPress blogs, as by default, jQuery runs in noConflict mode.
To replicate the problem, add the following after line 87 of examples/simple.html:
$.noConflict();
The following error is raised:
Uncaught TypeError: undefined is not a function jquery.counter.js:242
Since I am using your (amazing) plugin on a WordPress site, I have fixed the problem locally. I am going to send a pull request shortly with the fix. Hopefully you find it useful.
Thanks again such a great library--look to see it in action soon on knewton.com (you'll see it there in a couple of weeks). I modified the image sprites to match our fonts and colors and I think it came out fantastic.