jQuery UI has provided us a loading GIF animation for white background page.
This is the original GIF animation...
We can change the background of this loading animation easily by editing this GIF file.
1. By open it in GIMP,
2. and set color mode from indexed to RGB.
3. Then use paint-brush,
4. set mode of paint-brush to multiply,
5. select new background color,
6. then paint on all layer of the GIF animation.
7. Finally, we save the new file as a GIF animation.
The below is the new GIF animation...
For page with dark background, we can simply...
1. invert color of all layer in the GIF animation.
2. Then use paint-brush with mode set to screen.
http://jqueryui.com/