Old 07-24-2005   #1 (permalink)
Recursively call who?
 
GoldNetX's Avatar
 
Join Date: Nov 2003
Location: Pittsburgh, PA
Posts: 294

Send a message via AIM to GoldNetX
Making a single loop .gif play multiple times

Hey, I am having trouble with some .gif images and Firefox. I have only tried my site on IE6 and Firefox, but the problem only arises when using Firefox

Website Location: http://www.andrew.cmu.edu/user/awmayo/

On the left side of the side I have a preview box, and when a link is clicked on the left it changes the background image of the preview box at the top. I have links set to change the background to a .gif image so that it plays a slight animation. I want this only to be an intro animation so I have the .gifs set to only play once. The problem is that once a user click on a link and sees the animation, it won't play again until the user leaves the page and comes back. This only seems to be a problem with Firefox though, the images will play the intro everytime in IE.

I am wondering if anyone here has any clue how to simulate the way IE loads the images, or knows of any way to make this work.

Here are the links to the source code if you want it.

- HTML Page
http://www.andrew.cmu.edu/user/awmayo/index.html

- CSS Page
http://www.andrew.cmu.edu/user/awmayo/index.css

Thanks in advance.
__________________

www.gusmayo.com
- Maybe a story or two -


www.jaloobie.com
... your new home ...

www.webinkproductions.com
- professional web application design -

Last edited by GoldNetX; 07-24-2005 at 07:33 PM..
GoldNetX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-24-2005   #2 (permalink)
get nasty!
 
Uncle Ghed's Avatar
 
Join Date: Jun 2005
Location: Rome, Italy
Posts: 82

Send a message via MSN to Uncle Ghed
i guess the problem is that firefox puts the images in the browsers cache and plays them faster once he loaded them once.
I opened one of your gifs in imageready, and i found out that the timing for the frames is 0 seconds... maybe forcing a slightly slower animation, like 0.1 seconds, would work...
__________________
some day I'll understand why on earth I started drawing...
Uncle Ghed is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-25-2005   #3 (permalink)
Local Biorust Beast
 
Order's Avatar
 
Join Date: Oct 2003
Location: San Diego, CA, USA
Posts: 2,253

Send a message via AIM to Order Send a message via MSN to Order Send a message via Yahoo to Order
The issue is caching. Firefox may be caching the image when it loads it, while IE does not. This is probably not fixible, as it is the behavior of the browser, not the page's coding.

IE likes to reload images that are specified in CSS everytime, Firefox appears to not reload the animation after it has already shown it.
__________________
Order is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-25-2005   #4 (permalink)
Invicible Snake
 
ParaSnake's Avatar
 
Join Date: Sep 2004
Location: Ho Chi Minh City,Vietnam
Posts: 668

Send a message via MSN to ParaSnake Send a message via Yahoo to ParaSnake
Its worked just well in Opera
__________________
ParaSnake is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 07-25-2005   #5 (permalink)
Recursively call who?
 
GoldNetX's Avatar
 
Join Date: Nov 2003
Location: Pittsburgh, PA
Posts: 294

Send a message via AIM to GoldNetX
Thanks for the responses.

Quote:
IE likes to reload images that are specified in CSS everytime, Firefox appears to not reload the animation after it has already shown it.
That's what I was assuming was the problem. Maybe they will add the ability to change it sometime later.

Thanks anyway.
__________________

www.gusmayo.com
- Maybe a story or two -


www.jaloobie.com
... your new home ...

www.webinkproductions.com
- professional web application design -
GoldNetX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 05:26 PM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT