Is there a reason why an animated image wouldn’t be suitable? Animated png images allow for decent quality these days.
It would also makes the animation more accessible too.
The only thing I was worried about that was for the sake of browser incompatibilities.
As far as I know doesn’t only Firefox allow for APNG etc? If I could take this route(image actually animated) I’d really prefer to!
They are of graphical characters from a game. So quite intense and I thought that .gif would diminish the quality too much? I guess I could give it a go.
Then I would only need to worry about displaying each image, and would only need to change the .gif on mouseover, and they would be a lot smaller/quicker to load.
I would like to have them pre-loaded though.
function preload(images) {
var image = [],
i;
for (i = 0; i < images.length; i += 1) {
image[i] = new Image();
image[i].src = images[i];
}
}
preload([
'image1.gif',
'image2.gif',
'image3.gif'
]);