... > Page Effects > JSFishImage Help

This script displays an image moved in swimming fish motion in your browser window.

Images

Two images (or same image both times) should be used for the effect. One image will be displayed for movement from left to right and another for movement in the right to left direction.

Speed and motion

At the initialization, a random speed (from zero to specified X or Y max value) will be picked up. Then the image will be moved depending on the picked speed each millisecond depending on the "Speed" variable. The movement time will be picked up randomly too, from zero to the value set by the "Time" millisecond. In it's path the image will be bounced against the window borders. When the movement counter reaches zero, another speed and movement values will be used up and so on.

Limited Compatibility

Note that this effect has limited compatibility! The effect works on the following browsers:

Internet Explorer 4
Internet Explorer 5
Internet Explorer 5.5 (or later)
Opera 5.12 (or later)
Netscape 6 (or later)

Other settings

There are other settings that are discussed on the following topics from the Anfy Flash documentation:

Working With Text Fields
URL Links and Frame Targets
Working With Color Buttons
JavaScript Effect Compatibility
Working With Time Delays and Pauses
Working With File Fields And File Lists

Aleksey Udovydchenko

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


© 2002-2003 AnfyTeam. All rights reserved.