Animated GIF not working

J

JCO

I have gif file that works in preview mode but not on the server. I
believe I can take care of the problem by simply preloading it. I've done
this before, but can't remeber how to do this.

Can someone tell me how to preload a gif file?
Thanks
 
K

Kevin Spencer

An animated GIF file should work fine in a browser without doing anything
special. Do youhave a URL for us to look at?

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
J

JCO

Thanks Kevin,
I just realized my fire wall was stopping the animation.

Just for my reference is this correct?
<script>
var imgSpin = new Image(); imgSpin.src = "files/emaila9.gif"
</script>

Where imgSpin can be any variable you pick; Then you set it to point the
variable to the file location.

Thanks
 
K

Kevin Spencer

That is the correct syntax for pre-loading. However, I don't hink your
firewall is an issue. The way an animated gif works is much like any other
image. The browser downloads the file and then displays it. If it were a
firewall issue, it wouldn't display at all. Again, if you have a URL, we
can take a look.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
J

JCO

www.dfwtejanos.com

Its the webmaster mail icon. It is working when I view it with my other
computer.
It was on my development computer that I noticed the gif was inactive. My
firewall is very strict and it does stop all animation.

Like I said, it is working okay when I view it with my other computer.
 
T

Thomas A. Rowe

Under IE Internet Tools | Advanced enable animation

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
K

Kevin Spencer

Yes, it's fine, I Just took a look. I don't think it's a firewall issue,
however (I'm behind a firewall right now), you should try clearing out your
Temporary Internet Files and take another look.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
J

JCO

Everything is fine.
My firewall on my "development" computer is zonealarm. It has features to
stop animation by several settings. Once I reset that, everything was fine.

Sorry to bother everyone for this issue.
Thanks again!
 
K

Kevin Spencer

My firewall on my "development" computer is zonealarm. It has features to
stop animation by several settings. Once I reset that, everything was
fine.

Well, you taught me something new today!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Top