Dynamic Billboard

Demo

Author: Robert Temple (templer@db.erau.edu)

Source Code: BillData.java, BillTransition.java, ColumnTransition.java, DynamicBillBoard.java, FadeTransition.java, LargeImageFadeTransition.java, RotateTransition.java, SmashTransition.java, TearTransition.java, UnrollTransition.java

Description:
The Dynamic Billboard displays a series of images with a number of different transitions between the images. Transitions include Column Shift, Fade, Rotate, Tear, Smash, and Unroll. It only loads the images when they are needed, thereby making it more efficient.

Documentation

HTML

<applet code="DynamicBillBoard" width="392" height="72"> 

<param name="delay" value="3000">
<param name="billboards" value="4">
<param name="transitions" value="6,ColumnTransition,FadeTransition,TearTransition,SmashTransition,UnrollTransition,RotateTransition">

<param name="bill0" value="gatorade.gif,http://205.217.2.106/gatorade/GatorStore/index.html">
<param name="bill1" value="aa.gif,/~templer/Axis+Allies/">
<param name="bill2" value="pattern.gif,/java/pattern/">
<param name="bill3" value="jars.gif,http://www.surinam.net/java/jars/jars.html">

</applet>

Params

Here is a description of each of the parameter tags:
<param name="delay" value="3000">
This specifies how long each image is shown.
<param name="billboards" value="4">
The number of images that will be shown.
<param name="transitions" value="6,ColumnTransition,FadeTransition,TearTransition,SmashTransition,UnrollTransition,RotateTransition">
The transitions to randomly select from.
<param name="bill0" value="gatorade.gif,http://205.217.2.106/gatorade/GatorStore/index.html">
The first image to show and the URL to launch the person to if they click on the image.
<param name="bill1" value="aa.gif,/~templer/Axis+Allies/">
The second image to show and the URL it points to (notice it can be absolute or relative).
<param name="billn" value="pattern.gif,/java/pattern/">
Keep naming the gifs 'mynameX.gif' where X is an integer starting from 0.

  • Enjoy Pure Java Satisfaction.