Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-15-2009, 11:15 PM   PM User | #1
reeter
New to the CF scene

 
Join Date: Oct 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
reeter is an unknown quantity at this point
Making an animated gif play once on each reload

Hello all,

My problem was that I had an animated gif that didn't loop. However, the image would only play the first time the page loaded and did not play each time the page was re-visited.

I read about someone appending random numbers to an image in PHP, but PHP wasn't an option on my page. So, what I did was put an ID field on this image:

id="<%# Guid.NewGuid() %>"

Hope this helps someone.
reeter is offline   Reply With Quote
Reply

Bookmarks

Tags
animated gif, cache, guid, img, img src

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:59 PM.


Advertisement
Log in to turn off these ads.