Smashing


Example of Smashing

Automatic mode - Click to open link Manual mode - Click to smash

The applet takes the images above and does a smashing fade between the images. Download it here !

How do I use Smashing ?

What are the parameters for Smashing ?

Name

Value

Example
images See below {image1.jpg,link1.html}{image2.jpg,link2.html,frame2}
sound Audio clip filename smashing.au
SmashFrames Number of frames of animation spent smashing 30
WaitFrames Number of frames of animation spent waiting 80
Delay Delay time of each frame 20
manual Include this parameter to force manual mode 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}">

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 put the Javabase URL in the status bar when unregistered.

Click here for registration details


Javabase Home