开发者

Flicker of unstyled content in Firefox

I built this site a couple of years back and but am now in the process of moving it to a new server.

However. I've noticed t开发者_开发技巧here is a split second of unstyled content show on page load when viewed in Firefox (3.5.7)?

And on checking in IE8, a less frequent and slightly more raggged effect also happens but only prior to caching?

The url is: http://www.rhubarbrentals.co.uk

If anyone can suggest how to fix this I would be grateful.


you can use jQuery for this

$(document).ready(function() {
  $('#flash').hide();
});

where #flash is the div that contains your unstyled content. check this link for more details


putting the

<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>

at the bottom of the page (right above </body>) might help some.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜