ET Subject Ticker - Documentation![]() |
||
|
Features
Examples
Get started
|
|
JavaScript ControlYou can control some aspects of this applet with JavaScript (not to confuse with Java that the applets are written in). Currently there are three different functions you can call: newMain newTemporary newMainFromFile Look at the JavaScript example
to see how to use these functions. |
||
ParametersThis is the list of parameters that can be used in the HTML code
with this applet. |
Unlocking the applet |
NumericalKey If you buy the applet collection you will get access to a web page where you can generate keys to unlock the applets. An unlocked applet will not show the "by Entanke, Click for info" text and it will not have the four second delay when it starts. Use the NumericalKey parameter to assign these keys to the applet. If you have a domain with several names (like www.domain.com, www2.domain.com) you have to get a key for every domain name and enter them separated by commas. When the applet is run from the local hard disk it will behave as if you have a valid key. Values: 0-66000[,0-66000[,...]] Default: none Example: <param name="NumericalKey" value="3956,213"> |
|
Text Message |
InputFile As a ticker text usually is updated often, it is loaded from a separate file given by the InputFile parameter. See the format of the input file below. Values: URL to file Default: none Example: <param name="InputFile" value="TickerText.txt"> |
|
Input file format: |
||
% | All lines that starts with a % character
will be ignored and can be used as comment lines. |
|
§ | Each message item starts with a § character
and then follows the arguments separated by | characters. The arguments
are (in order): Subject text, Headline text, URL or local link, Headline
(ticker) pause, Subject background color, Subject text color, Headline
background color and Headline text color. |
|
Subject text Headline text |
The text for one message item. Values: text string Example: § What's new | The download pages were updated. |
|
URL or local link | The link that is associated with the current
message item. If you are using a URL link that will be loaded in the
browser you can control the target farme with the TargetFrame.
If you put a $ character in front of the URL it will be loaded as an
input file by the applet (see Example
5). Values: URL to link Example: § What's new | The download pages were updated. | download.html or: § What's new | The download pages were updated. | $downloadInputFile.txt |
|
Headline pause | Specifies how many milliseconds the message
item should pause. Set the default with the HeadlinePause parameter. Values: The pause in milliseconds Example: § What's new | The download pages were updated. | download.html | 2000 |
|
Subject colors Headline colors |
The colors of the current message item in
the following order: Subject background color | Subject foreground color
| Headline background color | Headline foreground color. Use the
SubjectBGColor, SubjectColor, HeadlineBGColor and
HeadlineColor parameters to set the default values. Example: § What's new | The download pages were updated. | download.html | | c00000 | f4f4f4 | f4f4f4 | c00000 |
|
Subject Font |
SubjectFont The font used in the subject area. Helvetica, TimesRoman, Courier, Dialog, and DialogInput are available on most computers. Values: font name Default: TimesRoman Example: <param name="SubjectFont" value="Courier"> |
|
SubjectSize The size of the text in the subject area. Values: 6 - 80 Default: 12 Example: <param name="SubjectSize" value="14"> |
||
SubjectStyle The style of the text in the subject area. Values: plain / bold / italic / bolditalic Default: bold Example: <param name="SubjectStyle" value="italic"> |
||
SubjectUnderline If the text in the subject area should be underlined. If set to "auto" only links will be underlined. Values: true / auto / false Default: false Example: <param name="SubjectUnderline" value="auto"> |
||
Headline Font |
HeadlineFont The font used in the headline area. Helvetica, TimesRoman, Courier, Dialog, and DialogInput are available on most computers. Values: font name Default: TimesRoman Example: <param name="HeadlineFont" value="Courier"> |
|
HeadlineSize The size of the text in the headline area. Values: 6 - 80 Default: 12 Example: <param name="HeadlineSize" value="14"> |
||
HeadlineStyle The style of the text in the headline area. Values: plain / bold / italic / bolditalic Default: plain Example: <param name="HeadlineStyle" value="bold"> |
||
HeadlineUnderline If the text in the headline area should be underlined. If set to "auto" only links will be underlined. Values: true / auto / false Default: false Example: <param name="HeadlineUnderline" value="auto"> |
||
Miscellaneous |
HeadlinePause Specifies how many milliseconds message items should pause. This parameter can be overridden in the input file. Values: 0 - 100 000 (milliseconds) Default: 3000 Example: <param name="HeadlinePause" value="5000"> |
|
HeadlineAlign The alignment of the headline text. Values: left / center Default: center Example: <param name="HeadlineAlign" value="left"> |
||
SubjectWidth The width of the subject area. Use this parameter to set the size of the subject and headline area, or to eliminate one of them. Values: 0 - applet width (pixels) Default: 1/4 of the applet width. Example: <param name="SubjectWidth" value="40"> |
||
TargetFrame The target frame of all links that are displayed in the applet. Values: _self / _parent / _top / _blank / frame name Default: _self |
||
Border |
BorderThickness The thickness of the applet border. Use the BorderColor... parameters to customize it further. Values: 1 - 20 (pixels) Default: 2 Example: <param name="BorderThickness" value="1"> |
|
Colors |
BGLoadingColor The color of the applet background while the applet is loading the input file. Values: 000000 - ffffff Default: ffffff (white) Example: <param name="BGLoadingColor" value="0000ff"> See Also: Color notation. |
|
BorderColor The color of the applet border. Values: 000000 - ffffff Default: 000000 (black) Example: <param name="BorderColor" value="0000ff"> See Also: Color notation. |
||
BorderColorOver The color of the applet border when the message item is clickable and the mouse is moved over the applet area. Values: 000000 - ffffff Default: 0000ff (blue) Example: <param name="BorderColorOver" value="000000"> See Also: Color notation. |
||
BorderColorClick The color of the applet border when the message item is clickable, the mouse is moved over the applet area and the left mousebutton is clicked. Values: 000000 - ffffff Default: ff0000 (red) Example: <param name="BorderColorClick" value="ffff00"> See Also: Color notation. |
||
SubjectBGColor Default background color of the subject area. This parameter can be overridden in the input file. Values: 000000 - ffffff Default: 000000 (black) Example: <param name="SubjectBGColor" value="800000"> See Also: Color notation. |
||
SubjectColor Default text color of the subject area. This parameter can be overridden in the input file. Values: 000000 - ffffff Default: ffffff (white) Example: <param name="SubjectColor" value="000000"> See Also: Color notation. |
||
HeadlineBGColor Default background color of the headline area. This parameter can be overridden in the input file. Values: 000000 - ffffff Default: ffffff (white) See Also: Color notation. |
||
HeadlineColor Default text color of the headline area. This parameter can be overridden in the input file. Values: 000000 - ffffff Default: 000000 (black) See Also: Color notation. |
||
Messages controll |
RepeatMain Whether the main messages will be repeated after the first display. Values: true / false Default: true |
|
RestartMainAfterTemp Whether the main message will restart after being interrupted by a temporary message. Values: true / false Default: false |
||
FileReloadDelay How often the applet will reload the input file. If you don't use this parameter, or if you set the value to 0, the applet will not reload the input file (default). Useful if you have dynamic changes in the messages. Values: 0-5000 (seconds) Default: 0 (file will not be reloaded) |
Known BugsNo known bugs. If you find any other bugs please report
them to us. |
||
![]() Future FeaturesIt's always possible to improve an applet, but every feature creates more code, and more code will result in longer loading times. Here is a list of ideas and possible future features for this applet. Tell us what is most important to include in the applet, or if you have other ideas not listed here.
|
||
![]() © 1997-2000 Entanke. Visit us at http://www.entanke.se/ for more information. |