I was just creating an shortcut icon (the icon displayed in the head
part of a page before the page title) (EDIT: I mean favicon...) for a webside, when I was thinking about animated shortcut icons (acually I don't know if they are called like that...).
Even though my intuition told me that this is probably impossible, since I haven't seen it being done on any web pages so far, I wanna be sure :^)
I have actually thought about a things that might in theory help to find out if, or how it's possible:
- Using a gif file
There might be a way to make it work using a gif, but probably not. That's too easy. It would be widely-used...
- Changing the icon tag using js for every frame of the icon animation
This would actually be my best guess, but I can't get it to work...
- Changing the icon image on the server 10 times per second
Forget about this one.
- Find out how the loding icon animation is done
Well, it's probably browser side and hasn't todo anything with html/js, but who knows?!
So, that's everything I could think of concerning shortcut icon animations, hopefully you can make sense of it :)