Transitions
Example of Transitions
The applet takes the images and does various transition effects between them. There are 50 available effects. Download it here !
How do I use Transitions ?
What are the parameters for Transitions ?
|
Name |
Value |
Example |
| images | See below | {image1.jpg,link1.html}{image2.jpg,link2.html,frame2} |
| sound | Audio clip filename | sound.au |
| ChangeFrames | Number of frames of animation spent on transition | 30 |
| WaitFrames | Number of frames of animation spent waiting | 80 |
| DelayTime | Delay time of each frame | 20 |
| random | Include this parameter to produce random transitions | OK |
The images parameter should contain a list of image URLs relative to the html document. They should be enclosed in {}. eg.
<PARAM NAME="images" value="{image1.jpg}{image2.jpg}">
To provide a link from a certain image, place the desired link URL after a comma after the image. eg.
<PARAM NAME="images" value="{yahoo.jpg,http://www.yahoo.com}{excite.gif,http://www.excite.com/}">
To provide a frame for a link, place the frame name after a comma after the link name. eg.
<PARAM NAME="images" value="{yahoo.jpg,http://www.yahoo.com/,leftframe}{image2.jpg}">
Write the name
of the transition that you want into a certain image before that image.
For example:
<PARAM NAME="images" value="puzzle {yahoo.jpg,http://www.yahoo.com/,leftframe}
smudgeleft {image2.jpg}">
This will make the applet use
the 'puzzle' effect before the first image and the 'smudgeleft' effect before
the second. For more transition types, click
here.
Using javascript
In order to use javascript as a link, you must add MAYSCRIPT to your applet tag, eg:
<applet code="Smashing.class" MAYSCRIPT>
You must then include your javascript as links, for example:
{Click me,javascript:alert('hello')}
How can I register?
This applet will link to Javbase only unregistered.
Click here for registration details