方法来自aw,鬼火只做些无关紧要的修改,效果如图所示。
1.打开风格的elements.php,查找
<link rel="alternate" title="{blogname}" href="feed.php" type="application/rss+xml" />
于下方加入
<style type="text/css">
#loading {
z-index:1;
position:fixed !important;
position:absolute; /* I hate IE6 */
left:0;
top:0;
padding:5px 9px;
background:#c44;
color:#fff;
}
</style>
#loading {
z-index:1;
position:fixed !important;
position:absolute; /* I hate IE6 */
left:0;
top:0;
padding:5px 9px;
background:#c44;
color:#fff;
}
</style>
2.找到
<body>
于下方插入
<div id="loading">正在加载……</div>
3.查找
</body>
于上方强行插入
<script type="text/javascript">
//<![CDATA[
document.write('<style>#loading{display:none}<\/style>');
//]]>
</script>
//<![CDATA[
document.write('<style>#loading{display:none}<\/style>');
//]]>
</script>
4.抠抠脚丫,打完收工
如无特殊鬼火今后的风格均会插入这一坨东西,使用Operafans2的同学可直接移步这里享受便民服务。
其他衍生版本:
大猫 - (无修正)给页面加Loading
武斌 - 也谈给页面加上Loading提示的方法



从这里派生到不少有意思的博客
调试时候才用。。。
因为404页面跑过来的,搜索不到关键字为啥不也做个好玩的捏~~
收藏收藏。
找到
a
于下方插入