ET Date Tag - Documentation


 

 

 

(no applet here)

 

Features

  • Displays the date of a specific file.
  • Custom date format.
  • Custom font.
  • Custom background color.

Examples

Get started

  1. Start with a simple web-page where you want the applet. (E.g. Test.html)
  2. Copy the class file to the same directory as Test.html:
    ET_DateTag.class
  3. Copy the applet and parameter tags from the simple example (or any other example, but it is safer to start with something simple).
  4. 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.
  5. 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 be ignored.
 

The file to be checked

  URL
The URL that the applet will check the date of.
Values: URL to file
Default: The current web page
 

Formatting

  Format
This parameter is a string that tells how the date should be written. It consists of text mixed with special keywords. The keywords are: #Year#, #Month#, #MonthName#, #Date#, #DayName#, #Hours#, #Minutes# and #Seconds#. The applet will replace the keywords with the corresponding values.
Values: text string
Default: #MonthName# #Date#, #Year#
Example: <param name="Format" value="#Hours#:#Minutes#">
 

Background

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

Text formatting

  TextColor
The color of the date text.
Values: 000000 - ffffff
Default: 000000 (black)
See Also: Color notation.
 
    TextAlign
The alignment of the date text.
Values: left / center / right
Default: left
 
    TextSize
The size of the date text.
Values: 6 - 80
Default: 13
 
    TextFont
The font name of the date text. Helvetica, TimesRoman, Courier, Dialog, and DialogInput are available on most computers.
Values: font name
Default: TimesRoman
 
    TextStyle
The style of the date text.
Values: plain / bold / italic / bolditalic
Default: plain
 
   

Known Bugs

No known bugs.

If you find any other 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.

Currently we don't have any new features planned for this applet.

 

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