Kail
December 24th, 2005, 07:02 AM
Okay, so I'm working on putting together a webcomic site, but running into a few snags with my HTML, specifically with animated GIFs. Annoyingly, the problems are browser dependant, so... grr. Does anyone here know much about HTML?
Problems I'm having:
Internet Explorer: I have little animated buttons at the bottom of the page for "next page" and "previous page" and so on. I have it set up with an onmouseover script so that one short GIF animation (e.g. the word "next" fading in) plays when the user mouses over the button, and another (e.g. the word fading out) plays when their mouse leaves the button. It works fine when I view it locally. But I uploaded it, and suddenly all kinds of wierd problems crop up. It's a five frame fade, and the first time you mouse over it, it looks okay, but then when you mouse off or mouse on a second time, every time it plays one of the animations, it plays the last frame first, then stops being a link for a quarter second, then becomes a link again and plays through the animation like normal (in other words, the animation starts at the last frame, then jumps instantly back to the first and runs through to the end). It looks terrible. Ugh. Seems to work fine in Netscape, and when I view it locally, though. Any advice?
Netscape (in FireFox mode): I've got one page of the comic which is a non-looping GIF animation. It plays once and stops. Works fine in Explorer, but in Netscape, it only ever plays once, and the play rate is equal to the download rate (which is a pain). If you leave the page and come back later, it still only shows the last frame. What I would want, ideally, is some way to set the animation to run once every time the page is viewed, or some way to cache it before loading the page.
Anyone got any advice?
Problems I'm having:
Internet Explorer: I have little animated buttons at the bottom of the page for "next page" and "previous page" and so on. I have it set up with an onmouseover script so that one short GIF animation (e.g. the word "next" fading in) plays when the user mouses over the button, and another (e.g. the word fading out) plays when their mouse leaves the button. It works fine when I view it locally. But I uploaded it, and suddenly all kinds of wierd problems crop up. It's a five frame fade, and the first time you mouse over it, it looks okay, but then when you mouse off or mouse on a second time, every time it plays one of the animations, it plays the last frame first, then stops being a link for a quarter second, then becomes a link again and plays through the animation like normal (in other words, the animation starts at the last frame, then jumps instantly back to the first and runs through to the end). It looks terrible. Ugh. Seems to work fine in Netscape, and when I view it locally, though. Any advice?
Netscape (in FireFox mode): I've got one page of the comic which is a non-looping GIF animation. It plays once and stops. Works fine in Explorer, but in Netscape, it only ever plays once, and the play rate is equal to the download rate (which is a pain). If you leave the page and come back later, it still only shows the last frame. What I would want, ideally, is some way to set the animation to run once every time the page is viewed, or some way to cache it before loading the page.
Anyone got any advice?