The sinus applet included in this archive is a simple, visually attractive mechanism for smoothly scrolling text across the display. The text wraps around a sine wave as it scrolls to the left and changes colour as it oscillates vertically. To pause the scrolling at any time, click the left mouse button anywhere within the applet. Repeating this action resumes the scrolling. This applet will run best when viewed with a browser that implements a Just-In-Time compiler (such as Internet Explorer 3.0/Netscape Navigator 3.0). It was written using Symantec Cafe 1.50.
<APPLET CODE="sinus.class" WIDTH=www HEIGHT=hhh>
|
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| message | text string | This is your message to be displayed. Note that a short message will follow your text. |
| ypos | integer | Vertical position for the center of the sine wave.
Defaults to the height of the applet/2. |
| amplitude | integer | Height of the sine wave in pixels.
Defaults to the height of the applet/4. |
| char height | integer | Height of the text (1 = normal, 2 = double etc).
Defaults to 2. |
| char width | integer | Width of the text (1 = normal, 2 = double etc).
Defaults to 1. |
| scroll speed | integer | Speed of the scroll (in pixels per frame).
Defaults to 4 pixels/frame. |
| scroll delay | integer | Millisecond delay between frames.
Defaults to 100ms. |
| ripple speed | integer | Speed of the ripple effect (in pixels per second).
Defaults to 4 pixels/frame. |
| DATE | VERSION | COMMENTS |
|---|---|---|
| 13/11/96 | 1.0 | Written. |
| 23/11/96 | 1.01 | Improved colour fade effect. |