by Marcel Wijnands
28. August 2010 16:06
I know of two cases where you would want an animated GIF, but it won’t do the trick:
- Browsing the web using an Android phone.
- Showing some kind of “processing..” animation when clicking a link/button and make it work in Internet Explorer.
I created an alternative using some images and a piece of javascript, and turned it into a jQuery plugin.
What you need is images like these:

Name them like:
circleball-1.png, circleball-2.png … circleball-8.png
Put a container on your page, like a span or a div, and use the plugin like this:
$(".circleball").animateImages("/images/circleball-@.png", 8, 90);
In the above line, the @ gets replaced with the imagenumbers, 8 means there are 8 images, 90 means the animation-interval is 90 ms.
You can check out a working example here! This could be optimized to use sprites instead, but it's a start.
jquery.animateImages can be downloaded below;
jquery.animateImages.zip (1.01 kb)
by Marcel Wijnands
4. August 2008 17:27
I really love the new Snipping Tool in Vista.
Not just because it is very useful, but it also displays very honest error messages.
75f7b087-20ff-482a-8134-883592b3983f|2|4.5
Tags:
General
by Marcel Wijnands
3. August 2008 17:40
Hello people,
I'm trying to create a blog with VB.NET / C#.NET code snippets, tips and tricks I run across 
Have a good read!
3f4fcf30-8865-4d5a-b165-56ca31a90443|3|1.7
Tags:
General