Animated GIF not working

  • Thread starter Thread starter JCO
  • Start date Start date
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
 
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.
 
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
 
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.
 
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.
 
Under IE Internet Tools | Advanced enable animation

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

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
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.
 
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!
 
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top