"JPGanimator" is af FREE applet
by Stig Chistensen, Copenhagen, Denmark, 1999.
Spread it if you want to, but keep this file in the ZIP.

Email: stigc@get2net.dk
Homesite: http://hjem.get2net.dk/stig_christensen/

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

This Applet will make it possible to do animations like GIFs,
but with graphics in the JPG-format.

Three different type of animation is available (GIFs has one):

 1. "random", which will play the pictures in random order.
 2. "normal", which will play the pictures one after another.

 3. In the last mode, the user can type in a specific order.

    ex. :   "0,1,2,3,4,5,6,5,4,3,2,1,0" 
  
    which would play the
    first 7 pictures forward, and then backwards.
    The number "0" reefers to the first picture. Then it loops.
    All numbers must be lower than the amount
    of picture minus one, because the first picture has the number "0".

The applet only works on pictures named like this:

 	 name000.jpg
	 name001.jpg
	 name002.jpg
	 name003.jpg
	 .
	 .
	 .
	 .
	 name999.jpg

	, where name is the same for all the pictures

	MAX 1000 pictures



The HTML is like this:
-------------------------------------------------------------
<applet code="JPGanimator.class" width=270 height=270>
<param name = "filename" value ="pics/test">
<param name = "pictures" value ="10">
<param name = "type" value = "random">
<param name = "pause" value = "300">
<param name = "link" value ="http://hjem.get2net.dk/stig_christensen/">
<param name = "target" value ="_blank">
<param name = "wait" value ="true">
</applet>


Explanation of the parameters:
------------------------------------------------------------
filename = name of the files, whitout the number.
pictures = number of pictures
type   = "random", "normal", or in the form "x1,x2,x3,x4,x5...xn"
pause    = is the pause between the pictures in milliseconds
link     = Here you set the URL-address which the applet should
	   link to on a mouse click. If blank nothing will happen    
target   =  "_blank" = opens in the same window
     	    "_self"  = opens in the same frame
            "_top"   = opens in a new window
wait     = if wait is not "true" the animation will start whitout
	   wating to be sure if all picture is loaded.
	   If "true" it will paint "Loading" and show how many % 
	   of the pictures, which have been loaded. Then the 
	   animation start at 100 %


[]