Animations

Animations are performed with a feature called Server push which is supported by versions of Netscape Navigator from 1.1 and above. It enables you to display impressive graphically striking animations in your documents.

Zeus Server has been designed to enable animations as simply as possible. Just create a directory containing the individual frames, and give the directory an extension of `.ani', for example `foo.ani'. Then in the HTML source you need <img src="foo.ani">. The frames will then be displayed one after the other in alphabetical order.

There are several arguments that can be passed to control features of the animation, they are described below. In the examples given, assumes 3 frames in the directory foo.ani, 1.jpeg, 2.jpeg and 3.jpeg.

Example HTMLEffect
<img src="foo.ani"> Display all frames once, one after the other as fast as possible. (1 2 3)
<img src="foo.ani?L"> Display all frames looping infinitely. (1 2 3 1 2 3 1 2 3 ...)
<img src="foo.ani?x,y,z"> x = initial delay before first frame appears (good for synchronizing multiple animations on a page at once).
y = inter frame delay (or 0 for as fast as possible)
z = loop count, or 'L' to loop forever
<img src="foo.ani?x,y,z,t"> x = initial delay before first frame appears (good for synchronizing multiple animations on a page at once).
y = inter frame delay (or 0 for as fast as possible)
z = loop count, or 'L' to loop forever
t = animation type code, see below

Type codeEffect
0 forward (1 2 3 1 2 3)
1 backward (3 2 1 3 2 1)
2 forward, backward (1 2 3 2 1)
3 random, will pick a frame from those available at random


Back to the features index