[UPHPU] Animated jpegs?

Brandon Stout bms at mscis.org
Sat Aug 11 18:11:02 MDT 2007


Ash wrote:
> Wade Preston Shearer wrote:
>>> Is there a way to animate jpegs, or rather, using css and maybe some 
>>> Javascript, have place on a page where a group of  jpegs rotates 
>>> every 2 or 3 seconds (for each jpeg)?
>>
>> There is not a way to have a JPG that contains several frames and is 
>> animated in and of itself, but yes, you could easily use javascript 
>> to rotate between several JPGs.
>>
>
> So you have a link to a tutorial that shows how to do this?
>
> Ash

I do just this sort of thing on one of the websites I wrote.  It uses 
JavaScript, and some code I borrowed, all referenced within the code itself:

http://allmanrentals.com

Brandon Stout
http://mscis.org



More information about the UPHPU mailing list