NewsClip new release version 0.9 beta Free for private use Commercial use requires a license |
NewsClip allows you to display multiple messages in a single small area of any web page. The messages (headlines and body texts) are read from a simple text file on your server (see CLIPFILE in parameter list below). To update displayed data it's only necessary to update/replace the text file - no need to modify your HTML.
The example above uses fairly coarse and quick scrolling. You can adjust scrolling from completely smooth to none (frames switch immediately) via applet parameters. Borders are optional.
NewsClip tech notes
Class Files | NewsClip (6k) NewsClipCanvas (4k) Compiler JDK 1.0.2 javac |
Parameters *optional |
content... CLIPFILE - Name of text file containing news clips. No default. headline text attributes... *HEADFONTFACE - Preferred facename. Default: "Helvetica". *HEADFONTSIZE - Font size in points. Default 12. *HEADFONTSTYLE - Plain, Bold, Italic (0,1,2). Default 0 (Plain). *HEADTEXTCOLOR - Text color. Default #000000 (black). *HEADTEXTALIGN - Left, center, right (0,1,2) align text. Default 0 (left). body text attributes... *BODYFONTFACE - Preferred facename. Default: "Helvetica". *BODYFONTSIZE - Font size in points. Default 12. *BODYFONTSTYLE - Plain, Bold, Italic (0,1,2). Default 0 (Plain). *BODYTEXTCOLOR - Text color. Default #000000 (black). *BODYTEXTALIGN - Left, center, right (0,1,2) align text. Default 0 (left). borders... *BORDER - Border thickness in pixels 0..8. Default 0. *BORDERCOLOR - Border color. Default #c0c0c0 (silver). *TEXTBORDER - left/right text indent in pixels. Default 4. background & scrolling... *BACKCOLOR - Text background color. Default #ffffff (white). *SCROLLBY - Scroll increment in screen pixels. Default 2. *SCROLLSPEED - Scroll speed in ms per pixel. Default 15. *FRAMESPEED - Time captions remain stationary in ms. Default 3000. |
copyright © the Java Hermit 1997
e-mail: hermit@ukonline.co.uk