问题,需要专家帮助正确预装图像(IE + FireFox),谢谢:) [英] Question, need expert help pre-loading images properly (IE + FireFox), thank you :)

查看:46
本文介绍了问题,需要专家帮助正确预装图像(IE + FireFox),谢谢:)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的小组,


我正在寻求一个易于维护,更重要的*工作*方式来获取图片的预付款,所以页面我平稳地开发负载而不会看到像往常一样闪烁的图像。重要 - 我需要

这可以在Internet Explorer 6.0+和FireFox上运行。


我目前正在页面的头部使用,


pic100 =新图像;

pic100.src =" ./ imageme.gif" ;;


然而,它没有似乎根本不适用于FireFox。我已经尝试了与URL路径不同的组合,但我不知道我是做什么的。
做错了。有人可以帮助我解决这个困难吗?


非常感谢您提前寻求帮助。:)


祝福,Sara。

解决方案

Sa***********@gmail.com 写道:


pic100 = new Image;

pic100.src =" ./ imageme.gif" ;;

然而,它似乎根本不适用于FireFox。我已经尝试了

非常感谢你提前获得任何帮助。:)



我可能错了并且使用了新的Image;很好,但我一直都在使用

new Image();


你没有提到你如何使用pic100这样''所有这些都要继续下去。



我可能错了并且使用了新的图像;很好,但我一直都在使用

new Image();


你没有提到你如何使用pic100这样''所有的事情都要继续下去。



嗨:-)


目前,FireFox和IE的配置是

< script>

pic100 =新图片;

pic100.src =" ./ imageme.gif" ;;

< / script>


< img src =。/ imageme.gif>


Sa *********** @ gmail.com 写道:
< blockquote class =post_quotes>
我正在寻求一种易于维护,更重要的是*工作*方式来获取图像,因此我开发的页面加载顺畅而不会看到

图像像往常一样闪烁。



请不要。


非常感谢您提前获取任何帮助。:)



欢迎您。

F''up2 cljs


PointedEars

-

var bugRiddenCrashPronePieceOfJunk =(

navigator.userAgent.indexOf(''MSIE 5'')!= -1

&& navigator.userAgent.indexOf(''Mac'')!= -1

)// Plone,register_function.js:16


Dear group,

I am seeking a easy to maintain and more importantly *working* way to
pre-fetch images, so the pages I develop load smoothly without seeing
the images kick in flicker as they usually do. Important - I need
this to work on Internet Explorer 6.0+ and FireFox.

I am presently using at the head of the page,

pic100= new Image;
pic100.src="./imageme.gif";

However, it doesn''t seem to work on FireFox at all. I''ve tried
different combinations with the URL path, but I don''t know what I am
doing wrong. Can someone please assist me with this boggle?

Thank you very much in advance for any assistance.:)

Best wishes, Sara.

解决方案

Sa***********@gmail.com wrote:

pic100= new Image;
pic100.src="./imageme.gif";
However, it doesn''t seem to work on FireFox at all. I''ve tried
Thank you very much in advance for any assistance.:)

I could be wrong and using new Image; is just fine, but I''ve always used
new Image();

You didn''t mention how you use pic100 so that''s all there is to go on.


I could be wrong and using new Image; is just fine, but I''ve always used
new Image();

You didn''t mention how you use pic100 so that''s all there is to go on.

Hi :-)

Presently, the configuration for FireFox and IE I have is

<script>
pic100= new Image;
pic100.src="./imageme.gif";
</script>

<img src=./imageme.gif>


Sa***********@gmail.com wrote:

I am seeking a easy to maintain and more importantly *working* way to
pre-fetch images, so the pages I develop load smoothly without seeing
the images kick in flicker as they usually do.

Please don''t.

Thank you very much in advance for any assistance.:)

You''re welcome.
F''up2 cljs

PointedEars
--
var bugRiddenCrashPronePieceOfJunk = (
navigator.userAgent.indexOf(''MSIE 5'') != -1
&& navigator.userAgent.indexOf(''Mac'') != -1
) // Plone, register_function.js:16


这篇关于问题,需要专家帮助正确预装图像(IE + FireFox),谢谢:)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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