ET Fade Text - Documentation


 

 

 


 

Features

  • Every message is a one line text strip that can be faded from one color to another at a speed given in the parameters.
  • The applet also supports a delay before a fading starts and you can make it to repeat a message loop as well as to show it only once.

Examples

Get started

  1. Start with a simple web-page where you want the applet. (E.g. Test.html)
  2. Copy the class files to the same directory as Test.html:
    ET_FadeText.class
    Copy the applet and parameter tags from the simple example (or any other example, but it is safer to start with something simple.).
  3. If you get it to work you can add more parameters from the list below. Check out the other examples for inspiration. If you have problems, check the FAQ for more help.
  4. If you still don't get it right, read the tutorials at http://www.htmlgoodies.com/ regarding Java applets.
     
   

Parameters

This is the list of parameters that can be used in the HTML code with this applet. If the applet is unable to interpret a parameter, it will by be ignored.
 

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">
 

Section Text

  B-n-Text
Text item n. This is the text that will be faded.
Value:
string
Default: B-(n-1)-Text
Example: <param name="B-1-Text" value="Welcome">
See Also: Button parameters.
 
    B-n-TextFromColor
The color to fade text item n from.
Values: 000000 - ffffff
Default n=1: BGColor
Default n!=1: B-(n-1)-TextToColor
See Also: Button parameters, Color notation.
 
    B-n-TextToColor
The color to fade text item n to. This parameter is required for each fade.
Values: 000000 - ffffff
Default: none
See Also: Button parameters, Color notation.
 
    B-n-TextSize
The font size of text item n.
Values: 6 - 80
Default: 13
See Also: Button parameters.
 
    B-n-TextFont
The font name of text item n. Helvetica, TimesRoman, Courier, Dialog, and DialogInput are available on most computers.
Values: font name
Default: TimesRoman
See Also: Button parameters.
 
    B-n-TextStyle
The style of text item n.
Values: plain / bold / italic / bolditalic
Default: plain
See Also: Button parameters.
 

URL link

  B-n-URL
The URL connected to text item n. You can use any URL type supported by your browser including http: and mailto:. Note that it is not possible to set any default values with S-d-URL or S-u-URL.
Values: URL to link
Default: none
Example: <param name="B-3-URL" value="fun.html">
See Also: Button parameters.
 
    B-n-URLFrame
The target frame of the URL connected to text item n.
Values: _self / _parent / _top / _blank / frame name
Default: _self
See Also: Button parameters.
 
    B-n-URLText
The text to be shown in the browsers status bar when the user moves the mouse pointer over text item n.
Values: string
Default: none
See Also: Button parameters.
 

Fade Time Control

  B-n-StartDelay
Time in milliseconds before text item n starts the fade from B-n-TextFromColor to B-n-TextToColor.
Values: 0-100000
Default: 0
See Also: Button parameters.
 
    B-n-FadeTime
Time in milliseconds for text item n to fade from B-n-TextFromColor to B-n-TextToColor.
Values: 0-100000
Default: 500
See Also: Button parameters.
 
    Repeat
Whether the applet will start with text item 1 after the last text item.
Values: true / false
Default: true
 

Background

  BGColor
The color of the applet background.
Values: 000000 - ffffff
Default: ffffff
See Also: Color notation.
 
   

Known Bugs

No known bugs.

If you find any bugs please report them to us.
 

   

Future Features

It'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.

  • Sound support.
  • Make it possible to line break the text items.
  • High light the text items when the mouse moves over them.

 
 

© 1997-2000 Entanke. Visit us at http://www.entanke.se/ for more information.