MarqueeLights
This applet livens up image by surrounding it with flashing lights. This
will spice up web pages.
The source is here.
To use the applet on your web pages:
The applet takes the following options:
- <param name="image" value="img.gif"> - This specifies the image to be
displayed and must be included.
- <param name="delay" value="150"> - This is the delay between
operations in ms. This delay is adjusted depending on the mode in use.
- <param name="url" value="foo.html"> - If the image is clicked, the
browser will go to this url.
- <param name="bulb" value="3"> - This is the size of the bulbs.
- <param name="border" value="10"> - This is the width of the border.
- <param name="stride" value="3"> - This is the stride in chase mode.
- <param name="gap" value="3"> - This is the gap between the bulbs.
- <param name="mode" value="frbF"> - This is the script for the flash
modes and can contain the characters: f for forward chase,
r for reverse, F or R for multicolor chase,
c or C for clear sequence, s or S for set
sequence (C and S are random order), y for yes
(all on), n for no (all off), 1 for 1 bulb, and +
for additive. For instance, if you want the lights to go forwards and
then reverse, use value="fr".
See the review in
JavaWorld
WebCounter:
Ken Shirriff:
[email protected]
This page:
http://www.righto.com/java/marqueelights.html
Copyright 2000 Ken Shirriff. Last updated 3/13/2001.
Java and other Java-based names are trademarks of Sun Microsystems,
Inc. and refer to Sun's family of Java-branded technologies.
Use of this software is subject to the terms of the
license agreement.