Condividi: facebook twitter

Cartoline

Una Donna Incredibilmente Meravigliosa

Space Scroller Applet

_b-ani_diamond _b-ani_diamond

laser

sscrolltitle
TRPIXEL

The SpaceScroller applet is another little text effect you can add to your homepage.

Tag syntax

<APPLET CODE="SpaceScroller.class"
     WIDTH="aNumber"                  -- the width (in pixels) of the applet
     HEIGHT="aNumber">                -- the height (in pixels) of the applet
<PARAM NAME="FPS"
     VALUE="aNumber">                 -- the number of frames to be painted
                                         per second
<PARAM NAME="NUMSTARS"
     VALUE="aNumber">                 -- the number of stars
<PARAM NAME="STARSPEED"
     VALUE="aNumber">                 -- the maximum horizontal speed of the
                                         stars
<PARAM NAME="TEXT"
     VALUE="String1|String2|String3"> -- the text strings to fly by
<PARAM NAME="TEXTCOLOR"
     VALUE="Color1|Color2|Color3">    -- the colors of the strings
<PARAM NAME="TEXTSPEED"
     VALUE="aNumber">                 -- the horizontal speed of the text
<PARAM NAME="FONTNAME"
     VALUE="aString">                 -- the name of the font to be used
<PARAM NAME="FONTSTYLE"
     VALUE="aNumber">                 -- the style of the font: 0 = normal,
                                         1 = bold, 2 = italic, 3 = bold-italic
<PARAM NAME="FONTSIZE"
     VALUE="aNumber">                 -- the size of the font
<PARAM NAME="LOGO"
     VALUE="aFile">                   -- a GIF or JPEG file to use as a logo
<PARAM NAME="LOGOSPEED"
     VALUE="aNumber">                 -- the horizontal speed of the logo
<PARAM NAME="LOGODIR"
     VALUE="aNumber">                 -- the direction of the logo (0 = left-
                                         right; 1 = right-left)

The colors in the TEXTCOLOR parameter should be 24-bit RGB values. If the number is preceded by "0x" or "#", it will be interpreted as a hexadecimal value, if preceded by a "0", as an octal value. Otherwise the number will be regarded as decimal.

You may omit one or more colors, in which case the last specified color will be used. If, for example, you have four strings and the TEXTCOLOR value is "#FF0000||#0000FF", the first two strings will be shown in red and the second two in blue.

As an example, here's the tag used on this page:

<APPLET CODE="SpaceScroller.class" WIDTH=450 HEIGHT=60>
<PARAM NAME=fps VALUE=15>
<PARAM NAME=numstars VALUE=50>
<PARAM NAME=text VALUE="This is Bennet Uk's SpaceScroller applet!|Greetings from Planet Smart...">
<PARAM NAME=textcolor VALUE="#FF0080|#0000FF">
<PARAM NAME=fontname VALUE="Helvetica">
<PARAM NAME=fontsize VALUE=24>
<PARAM NAME=fontstyle VALUE=3>
<PARAM NAME=starspeed VALUE=5>
<PARAM NAME=textspeed VALUE=2>
<PARAM NAME=logo VALUE="planetsmart.gif">
<PARAM NAME=logospeed VALUE=1>
<PARAM NAME=logodir VALUE=0>
</APPLET>

Use this applet!

The use of this applet on non-commercial homepages is free (commercial pages: mail me if you are interested). Get the class file here! If you use it, I would appreciate it if you put a link to my page, and send me an e-mail so that I know where my applet is being used.

Disclaimer: Bennet Uk shall not accept any responsibilies for damages resulting from the use of this applet and makes no warranty or representation, either express or implied, including but not limited to, any implied warranty of merchantability or fitness for a particular purpose.

Feedback

Any comments, suggestions, bug-reports and questions about this applet should be sent to me by e-mail. Your feedback is greatly appreciated!

Version History

Version 1.0 (24 July 1996)

  • First public release.

LINE2
Back to Bennet's Java Page

Last updated June 15, 1997
This page has been accessed 10019 times.
Please send feedback to bennet@dataway.ch

precedente successiva

cassasin.gif cassads.gif

LINE2
ballerina