Installation
Install following
files in the same directory as your HTML file and set file permission correctly
for Internet access
|
Sample "conf.dat" file
<!--This is a sample configuration file for message applet>
<!-- Each news entry has three parts: caption, news content and URL link. There is at least one space between each part and news entry must be in the same line, URL link can be either relative to current codebase or absolute> <news caption="MW6" content="MW6 is hometown of high quality and reliable applets" url="http://www.mw6tech.com/demo.html"> <news caption="Service" content="We provide free unlimited service to you" url="http://www.mw6tech.com/demo.html"> <news caption="Download" content="Download our evaluation version products for a try!" url="http://www.mw6tech.com/demo.htmlm"> <news caption="Order" content="Order our products either on-line or off-line" url="http://www.mw6tech.com/demo.html"> |
Applet parameters
Name | Description |
notice | This mandatory parameter must be explicitly included, otherwise
message applet will not work.
Usage:
|
license | This mandatory parameter must be explicitly included, otherwise message
applet will not work.
Usage:
|
window | Defines name of a frame or a window where links will be opened. There
are 5 choices for this parameter
<param name="window" vaule="_self"> |
bgcolor | Applet background color using RGB triplet of 3 decimal numbers in the
range of 0-255.
Sample Usage:
|
bdcolor | Applet border color using RGB triplet of 3 decimal numbers in the range
of 0-255.
Sample Usage:
|
speed | Text scroll speed (in milliseconds).
Sample Usage:
|
mocolor | News content color using RGB triplet of 3 decimal numbers in the range
of 0-255 when mouse is over news content area,.
Sample Usage:
|
delay | Delay time between two news (in millisecond)
Sample Usage:
|
cap_font | News caption font characteristic using triplet of font name, font style
and font size.
Sample Usage:
|
cap_color | News caption color using RGB triplet of 3 decimal numbers in the range
of 0-255.
Sample Usage:
|
txt_font | News content font characteristic using triplet of font name, font style
and font size.
Sample Usage:
|
txt_color | News content color using RGB triplet of 3 decimal numbers in the range
of 0-255.
Sample Usage:
|
Sample Applet Tag in HTML file
<applet code="Hscroll.class" width="136" height="200">
<param name="notice" value="Copyright(c) 1999, MW6 Technologies"> <param name="license" value="Demo"> <param name="bgcolor" value="0, 255, 0"> <param name="bdcolor" value="0, 255, 0"> <param name="mocolor" value="0, 255, 0"> <param name="txt_color" value="255, 255, 255"> <param name="txt_font" value="Courier, ITALIC, 14"> <param name="cap_color" value="255, 255, 255"> <param name="cap_font" value="Courier, ITALIC, 14"> <param name="speed" value="55"> <param name="delay" value="155"> <param name="window" value="_parent"> </applet> |