LVNews Readme
lvnews applet 1.2 - by Cromoteca
lvnews displays some text lines in sequence. It is a simple way to show news and highlights in a web page. It can take the text from a file, allowing for an easy mainteinance of the contents.
This is an example:
You can configure these parameters:
| Parameter Name | Default Value | Short Description |
| DataFile | (none) | The name of the text file containing the contents of the slides. Look at the example. Format is Label on the left (if available) + separator + news text + separator + URL to link + separator + target frame You can put the text on multiple lines: line breaks will be replaced by spaces. URL and target can be omitted. The first line can be used to specify the separator character (just like in our example), by putting it alone in the line |
| News# | (none) | The contents of the slides if a data file is not specified. The format is the same described above. You can specify any number of slides, naming them news1, news2, news3... |
| Link | (none) | The default URL to be shown when the users clicks over the applet |
| Target | _self | Default destination frame for the links. This can avoid specifying the same name in every link |
| Separator | , | A character used as separator for parameters that specify multiple characteristics (e.g. Font) |
| Font1 | Dialog,0,12 | Text font for the news text. The format is: type + separator + style + separator + size where type can be "Courier", "Dialog", "Helvetica" or "TimesRoman"; style can be "0" (Normal), "1" (Italic), "2" (Bold) or "3" (BoldItalic); size is an integer |
| Font2 | The value of Font1 | Text font for the label on the left. The format is the same as above |
| LabelWidth | 0 | Size in pixel of the label on the left. Use 0 to hide it |
| Background1 | 000000 | Background color on the right. The format is "RRGGBB" (similar to HTML) |
| Background2 | The value of Background1 | Background color on the left. |
| Foreground1 | FFFFFF | Color of the news text |
| Foreground2 | The value of Foreground1 | Color of the label on the left |
| Border1 | The value of Background1 | Color of the border on the right. You can specify an "RRGGBB" color or the value "3d" to obtain a bevel border as in the example above |
| Border2 | The value of Border1 | Color of the border on the left. Again, use an "RRGGBB" color or the "3d" option |
| EffectDuration | 1000 | Time required perform a transition effect (in milliseconds) |
| PauseDuration | 3000 | Pause before changing news (in milliseconds) |
| HandCursor | Yes | Uses the hand-shaped cursor over the links or not. The value can be "Yes" or "No" |
| SleepTime | 10 | Short pause between the animation frames (in milliseconds). Usually unmodified. |
| Text | Click here for news | Default text when no other information to display has been found |
| Credits | (none) | Please set it to "applet by www.cromoteca.com" as a credit for the author. Thank you! (This is required if you use this applet on the web, otherwise it won't work) |
Note: the names of their parameters and their values are case-insensitive, with the exception of the font names ("Courier", "Dialog", "Helvetica" and "TimesRoman") and of the Credits value.
English
Italiano