![]()
![]()
The Rainbow AppletDescription
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)
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:
Text The message to be displayed Required TextFont Name of the font for the message Optional TextSize Size (points) for message Optional TextFace 0-Plain, 1-Bold, 2-Italic Optional Background R,G,B of background Optional XPos X position of start of text Optional YPos Y position of start of text Optinoal GoTo URL to Goto when applet is clicked Optional Outside of PARM tags HTML for those with non-Java browsers Optional
Web Deco Kit Page Shokwave Home Page