图像有时在那里 [英] Images are SOMETIMES there

查看:86
本文介绍了图像有时在那里的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我承认代码是一团糟,但是我是老狗,这是新手!
这是我一直在研究的Blogger CSS模板(并与Blogger一起使用) 现在它可以执行我想要的操作...有时.
但是,有一种错误行为的模式:
第一次加载:通常都在这里,看起来不错.
刷新,重新加载或按F5键,通常顶部的图像会消失,或者出现其他问题.
在地址栏中重新输入地址,通常它会正确显示.
在IE和Firefox中发生.
如果我在提出问题之前应该先清理一下,那就这么说,并期望在大约一周后再发布一次..
否则,请看一下:
www.belindascott.be

Okay, I admit that the code is a right mess but I am an old dog who's new at this!
It's a Blogger CSS template that I have been hacking around (and using with Blogger) and it now does what I want it to do ... sometimes.
However, there is a pattern to the misbehaviour:
First load: it's usually all there and looks good.
Refresh, reload or F5 and often the top image disappears, or something else goes wonky.
Retype the address in the address bar and it usually comes right.
Happens in IE and in Firefox.
If I should clean it up before asking, just say so and expect another post in about a week..
Otherwise, please take a peek:
www.belindascott.be

推荐答案

这是一个已知的博客错误

It is a known blogger bug

转到仪表板,从下拉菜单中选择模板,然后编辑HTML.然后向下滚动,直到在模板底部看到以下行:

Go to Dashboard, select Template from the pulldown menu, and Edit HTML. Then scroll down until you see the following lines at the bottom of the template:

 <script language='javascript' type='text/javascript'>
      setTimeout(function() {
        blogger.ui().configure().view();
      }, 0);
    </script>
  </body>
</html>

将超时值从0更改为1000:

Change the timeout value from 0 to 1000:

<script language='javascript' type='text/javascript'>
      setTimeout(function() {
        blogger.ui().configure().view();
      }, 1000);
    </script>
  </body>
</html>

为此技巧提供的积分

这篇关于图像有时在那里的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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