Click here to get back home

how to get animations to repeat themselves endlessly

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to get animations to repeat themselves endlessly kvnsmnsn 03-09-2007
Get Chitika Premium
Posted by kvnsmnsn on March 9, 2007, 1:37 pm
Please log in for more thread options


I've got two GIF files named "Tigger.gif" and "Angry_barbarian.gif"
that contain animations that I want to display on a web page. I've
written the following XHTML code which works for a fraction of a sec-
ond but no more. That is, the animations run for a very short period
of time and then stop. My guess is that they're running through their
short animated period and then stopping. How can I display animations
like this that keep moving, that start over from the beginning as soon
as they reach the end of their animation? Any input on this would be
greatly appreciated.

---Kevin Simonson

"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_

----------------------------------------------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-
transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Animations Test</title>
</head>
<body>
<img src="Tigger.gif" id="tigger"
style="position: absolute; top: 100px; left: 300px
; visibility: visible" />
<img src="Angry_barbarian.gif" id="barbarian"
style="position: absolute; top: 100px; left: 500px
; visibility: visible" />
</body>
</html>


Posted by Benjamin Niemann on March 9, 2007, 2:08 pm
Please log in for more thread options


Hello,

kvnsmnsn@hotmail.com wrote:

> I've got two GIF files named "Tigger.gif" and "Angry_barbarian.gif"
> that contain animations that I want to display on a web page. I've
> written the following XHTML code which works for a fraction of a sec-
> ond but no more. That is, the animations run for a very short period
> of time and then stop. My guess is that they're running through their
> short animated period and then stopping. How can I display animations
> like this that keep moving, that start over from the beginning as soon
> as they reach the end of their animation? Any input on this would be
> greatly appreciated.

This problem is not related to the way how the images are embedded in the
HTML document.
The speed of the animation and whether it is looping or not can be adjusted
with the image editor you are using to create the GIFs.

HTH

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

Posted by kvnsmnsn on March 9, 2007, 3:52 pm
Please log in for more thread options



=This problem is not related to the way how the images are embedded in
the
=HTML document.
=The speed of the animation and whether it is looping or not can be
adjusted
=with the image editor you are using to create the GIFs.

I had just copied some already existing GIF animations. Does
anyone know where I could get access to a bunch of cartoon animations
that repeat endlessly, instead of looping for just a short period of
time?

I'm doing this for a class assignment; I need one animation for
when a user guesses a math problem correctly and another for when the
user guesses a problem incorrectly. If the animation only runs a fi-
nite amount of time and then stops then that looks funny, because the
user gets the problem right and instead of an animated Tigger the user
gets a frozen Tigger.

Do forever-looping GIF files that might serve this purpose exist,
or do I have to construct them in an image editor? Is there a way to
take the mentioned Tigger GIF and Angry Barbarian GIF and modify them
in an image editor so that they run forever instead of eventually
stopping?

By the way, the URLs for the two GIF files are: "http://
www.gifani
mations.com/action/ImageDisplay?group=1&category=10&index=20&dir=stay"
and "http://www.gifanimations.com/action/MenuSelection/1/10".

---Kevin Simonson

"You'll never get to heaven, or even to LA,
if you don't believe there's a way."
from _Why Not_


Posted by Ed Mullen on March 9, 2007, 3:58 pm
Please log in for more thread options


kvnsmnsn@hotmail.com wrote:
> Do forever-looping GIF files that might serve this purpose exist,
> or do I have to construct them in an image editor? Is there a way to
> take the mentioned Tigger GIF and Angry Barbarian GIF and modify them
> in an image editor so that they run forever instead of eventually
> stopping?

To create and edit animated .gif files you need animation software.

Take a look at:
http://www.google.com/search?hl=en&q=gif+animation&btnG=Google+Search

There are links to existing gifs as well as info on the format and
creation/editing software.

--
Ed Mullen
http://edmullen.net
http://mozilla.edmullen.net
http://abington.edmullen.net

Posted by Neredbojias on March 9, 2007, 5:25 pm
Please log in for more thread options


On Fri, 09 Mar 2007 20:52:56 GMT scribed:


> By the way, the URLs for the two GIF files are: "http://
> www.gifani
> mations.com/action/ImageDisplay?group=1&category=10&index=20&dir=stay"
> and "http://www.gifanimations.com/action/MenuSelection/1/10".

The Angry Barbarian gif animates for me endlessly both in IE 6 and Firefox.
Must be your browser(s).

--
Neredbojias
He who laughs last sounds like an idiot.

Similar ThreadsPosted
how to repeat a background graphic except for the bottom 20 pixels July 11, 2006, 2:15 pm
Repeat report column heading on web report April 22, 2006, 8:41 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap