Shokwave Software, Inc. -      Web Deco Kit

The Rainbow Applet

Description

The Rainbow applet draws a text message you supply in a constantly changing rainbow of colors. You may optionally supply a URL that the applet will tell the browser to load when clicked. Size: about 3,900 bytes

Examples

(for each example on the left, the HTML that generated it is on the right)
Sorry, your browser does not support Java, so you can't see this brilliant display hack.

Rainbow works best when the background color is the same as the page it's on. Note that moving the cursor over the flashing message shows a URL in your browser's status line. Clicking the flashing message will take you to that URL.


<APPLET CODEBASE="Java" CODE="Rainbow.class" 
     WIDTH=120 HEIGHT=30 ALIGN=middle>
<PARAM NAME=Text VALUE="Rainbow">
<PARAM NAME=TextFont VALUE="Arial">
<PARAM NAME=TextSize VALUE=24>
<PARAM NAME=TextFace VALUE=0>
<PARAM NAME=XPos VALUE=5>
<PARAM NAME=YPos VALUE=20>
<PARAM NAME=Background VALUE=255,255,255>
<PARAM NAME=GoTo VALUE="http://www.shokwave.com">
Sorry, your browser does <B>not</B> support 
     Java, so you can't see this brilliant display hack.
</APPLET>

Parameters

The Rainbow applet takes the following parameters:

TextThe message to be displayedRequired
TextFontName of the font for the messageOptional
TextSizeSize (points) for messageOptional
TextFace0-Plain, 1-Bold, 2-ItalicOptional
BackgroundR,G,B of backgroundOptional
XPosX position of start of textOptional
YPosY position of start of textOptinoal
GoToURL to Goto when applet is clickedOptional
Outside of PARM tagsHTML for those with non-Java browsersOptional



Web Deco Kit Page     Shokwave Home Page