EDITABLE CODE:
LiveDemo: jQuery UI Progress Bar : Progress Bar Animation
Note: The CSS background-image property is used to specify an animated .GIF Image.