
Java Scroller Applet
Download -
Download this applet here.Features -
Demo -
The messages are in a text file called Scroller.txt added in the applet JAR.
Hover on any link and the scrolling display stops.
The applet Parameters -
The applet has the following parameters which can be set in the HTML page.
<!-- General Customization -->
<PARAM NAME="messageFile" VALUE="Scroller.txt">
<PARAM NAME="bgColor" VALUE="#ffffff">
<PARAM NAME="borderYesNo" VALUE="Yes">
<PARAM NAME="statusMessage" VALUE="Copyright (c) 2000 Softricks.com">
<!-- Font for Scrolling Messages -->
<PARAM NAME="scrollFontName" VALUE="Courier">
<PARAM NAME="scrollFontColor" VALUE="#004400">
<PARAM NAME="scrollFontSize" VALUE="12">
<!-- Scrolling Properties -->
<PARAM NAME="scrollDelay" VALUE="50">
<PARAM NAME="scrollIncrement" VALUE="1">
<!-- Title Parameters -->
<PARAM NAME="titleYesNo" VALUE="Yes">
<!-- If titleYesNo is Yes, then provide values for the following parameters -->
<PARAM NAME="titleText" VALUE="Softricks.com">
<PARAM NAME="titleFontName" VALUE="Arial">
<PARAM NAME="titleFontSize" VALUE="12">
<PARAM NAME="titleBGColor" VALUE="#FF0000">
<PARAM NAME="titleFGColor" VALUE="#FFFFFF">
<!-- Footer Parameters -->
<PARAM NAME="footerYesNo" VALUE="Yes">
<!-- If titleYesNo is Yes, then provide values for the following parameters -->
<PARAM NAME="footerText" VALUE="Copyright (c) Softricks.com">
<PARAM NAME="footerFontName" VALUE="Arial">
<PARAM NAME="footerFontSize" VALUE="9">
<PARAM NAME="footerBGColor" VALUE="#0000AA">
<PARAM NAME="footerFGColor" VALUE="#FFFFFF">
<!-- Link Properties -->
<PARAM NAME="linkOnColor" VALUE="#FF0000">
<PARAM NAME="linkOffColor" VALUE="#0000FF">
Customizing Scroller.txt file -
You can put your messages that the scroller will display in the Scroller.txt file.
There is a syntax defined for this file. In general the file contents look like -
/* Softricks Scroller File (Syntax v1.0). Last updated: 09/15/2000.
/* ----------------------------------------------------------------
/* Syntax to be followed
/* Comments - should always start with /* on single line.
/* On each line,
/* Write the string first followed by any number of spaces/tabs (which will be ignored
/* and then the link/the word 'Null' enclosed by the delimiters.
/* The file should end with .EOF
/* You can specify specific directives using the '#' sign
/* For example to specify your own delimiter for the links portion,
/* use, #OPEN-DELIM={[ and #CLOSE-DELIM=]} statements
#OPEN-DELIM=[
#CLOSE-DELIM=]
Welcome [Null]
To [Null]
Softricks.com [http://www.softricks.com]
Great Tips, Techniques [Null]
Free Software! [Null]
Javascript Programming [http://www.softricks.com/js/index.html]
Java Programming [http://www.softricks.com/java/index.html]
Visual Basic, ASP [http://www.softricks.com/vb/index.html]
DHTML, CSS, HTML [http://www.softricks.com/html/index.html]
And lots more.............. [Null]
.EOF
The comments can be removed.