Waiting, Patiently

I would like to introduce the “works in all browsers” javascript spinner solution. There are tons of cool new spinner solutions out there, but most of them are using CSS3 which isn’t yet supported in all browsers, a canvas solution which either has poor IE support, or requires a separate polyfill plugin. Why can’t it be simpler?

jQuery Waiting

jQuery Waiting is a small plugin with a wide range of support, easy to use, and very powerful. It is smaller than many less powerful solutions. It also provides a handy api and event system, so you can interact with it! Best of all it leaves the CSS to style, and uses javascript to animate. Lets take a look at how this works. We have a simple empty div:

<div id="mySpinner"></div>

Add a little simple, widely accepted css (of course you can use fancy CSS3 effects if you want, thats up to you):

You found me, I'm Trent. I develop practical things for the web, like javascript libraries and plugins. I also love databases so don't talk trash about SQL. Beyond that I post about useful web development stuff here on my blog.

Feel free to subscribe to learn about project updates, tutorials, and more!