当我处理ajax数据时,动态图标 [英] Dynamic favicon when I'm proccessing ajax data

查看:135
本文介绍了当我处理ajax数据时,动态图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试显示加载图标时遇到问题。

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

我以Facebook为例。当你去facebook主页,然后点击消息,它会改变图标(如重新加载/重定向),但页面仍然相同。他们怎么做?

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?

推荐答案

我解决了我的favicon问题 - 简单的iframe

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>

这篇关于当我处理ajax数据时,动态图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆