Mask
Mask

Reputation: 34207

How to implement animation of icon?

Like this site

Pay attention to your address bar.

Upvotes: 0

Views: 159

Answers (2)

Matthew Ruston
Matthew Ruston

Reputation: 4322

It looks like their favicon is an animated gif. It didn't seem to be animating in Google Chrome (4.x stream), but it works in Firefox.

Upvotes: 0

user151323
user151323

Reputation:

They reference two icon files:

This one is for IE that only understands ICO format.

<link rel="shortcut icon" href="http://img1.wolai.com/img/favicon.ico" />

This one is for good browsers. This is an animated GIF.

<link rel="icon" href="http://img1.wolai.com/img/favicon.gif" type="image/gif" />

Upvotes: 2

Related Questions