Thread: Starting an animated gif
Results 1 to 4 of 4
need help in creating animated text Forum: Introduce YourselfReplies: 7
What's a good site for making animated GIF's? Forum: Graphics ForumReplies: 4
animated rollovers in netscape Forum: HTML ForumReplies: 3
05-14-2004, 10:05 AM #1
Starting an animated gif
I have built an animated gif of a car moving down a road (car.gif). And also an image of a key (key.gif) (client's demands, not mine!). I need to be able to click on the key to trigger the animated gif. Anyone know the code? Many thanks.
05-15-2004, 02:40 AM #2bald headed old fart
- Aug 2003
- chertsey, a small town 25 miles south west of london, england.
Hi there jimsteele,
The simple answer is you cannot
But that answer is of no use to you so...
you may find this http://www.dansteinman.com/dynduo/en/gifanim.html of great interest
To make life easier I have extacted all the salient parts
and included them in a zip file so that you try it with
your car and your key
05-17-2004, 04:53 AM #3
Thanks a lot. I'll give it a go and see if it works.
05-20-2004, 04:14 AM #4
Couldn't get that code to work for me. I guess there were too many variables to change and I messed up! Anyway, found a solution - I used the behaviours controls in UltraDev and turned the first image into a onMouseDown which when clicked swapped with the other image, thus giving the impression that you are triggering or starting the animation on the mouse click, when you are really just flipping between a static and an animated gif. Hope this helps others.