"But there are lots of other applets that do this out there! Why another one?" you ask. Well, most other text scroller applets hog the CPU and take ages to load. ProScroll, however, is small, fast, and stable. It runs smoothly on any machine with a CaffieneMark 3.0 of about 10 or more.
ProScroll is placed under the GNU General Public License.
<applet code=ProScroll width=width, in pixels height=height, in pixels> <param name=name value=value> more param tags text to display if the user's browser doesn't do Java </applet>The parameters are documented in the next section.
| TEXT |
The text to scroll. For multi-colored text, put the name of the color between
splats (#). The following colors are valid:
#red# #green# #blue# #yellow# #orange# #white# #lightGray# #gray# #darkGray# #black# #cyan# #magenta# #pink# ##hex color value#For example, #blue#Hello #green#world will scroll the word 'Hello' in blue and
'world' in green.
To insert an image, place a dollar ($) sign in the place where you want it be.
Then in the IMAGES parameter, specify a space separated list of image file names, in the order
in which they appear in the text.Here's the tag for an example applet that will scroll image1.gif and image2.gif: <APPLET CODE=ProScroll WIDTH=400 HEIGHT=26> <PARAM NAME=TEXT VALUE="$$"> <PARAM NAME=IMAGES VALUE="image1.gif image2.gif"> </APPLET>If you want an actual # or $ symbol in the text, rather than a color change or an image, insert \# and \$. If you want a \, use \\. |
|---|---|
| TEXTURL | The URL to fetch the text from. If an error occurs while loading the URL, the text from the TEXT parameter is used instead. |
| FONT | The font to use for display. Default is TimesRoman. |
| SIZE | The font size to use for display. Default is 12 point. |
| STYLE | The font style to use for display. Valid styles are plain, bold, italic and bolditalic. Default is plain. |
| URL | The URL to point the browser to when the user clicks on the scroller. There isn't a URL by default. |
| TARGET | The frame to display the URL in, this is either _self, _top, _blank, or the name of a frame. Default is _self. This is only used if a URL is specified. |
| SPEED | The speed at which to scroll. Valid values are slow, medium, and fast. Numeric values from 5 to 20 can also be specified. Default is fast. |
| IMAGES | See TEXT parameter info. |
| BGCOLOR |
The background color of the scroller. This is specified as a TEXT parameter-style color name.
See the TEXT parameter info for a list of all the colors names. Default is black. Note that the
# aren't needed, so specify something like red instead of #red#.
|
| BGIMAGE | The URL of the image that will be tiled on the background of the scroller. Default is no image. |
| MAXTIMES | The number of times the text will scroll, before disappearing. A value less than 0 means that the text will scroll forever. |