Search code examples
jquerydynamicfavicon

Dynamic favicon when I'm proccessing ajax data


I've got problems when trying to show loading favicon.

I'm taking facebook as example. When you do go to facebook homepage and then click "Messages", it does change favicon (as reloading/redirecting), but page is still same. How do they do that?


Solution

  • I solved my favicon problem - simple iframe

    <body>
      <iframe id="frameFix" src="something.php" name="frameFix" height="0" width="0".
      border="0" ></iframe>
      <a href="new.php" target="frameFix">new thing (page will start to "load")</a>