Webmagi

Kontakt

Publiseringssystem

Gratis Applets

Javaspill til mobil


Notice in English

TypeIt2 - a typewriter Applet (Java 1.1)

Grønn linje

If your browser supported Java, you would have seen the TypeIt Applet right here.

This is a Java 1.1 enhanced version of the TypeIt Applet. Please note that the user will need a 1.1 compatible browser to be able to see this applet correctly.

Suggestions and feedback is welcome.

"Documentation"

Blå linje

  • Download the TypeIt2.class and TypeIt2$1.class files at the link below
  • Add the HTML-code to use the Applet at your page

Below is the source code for the use of this applet on this page, as shown above.

"Sourcecode" in HTML for the use of the applet on this page:

Blå linje
<applet CODE="TypeIt.class" WIDTH=500 HEIGHT=200>
If your browser supported Java, you would have seen the TypeIt Applet right here.


<param name=AUTHOR   value="Sondre Skaug Bjoernebekk, sondre@webmagi.no">
<param name=TXT      value="This is text from the HTML-code|if you click the Applet area,|you'll be taken to Yahoo!......#">
<param name=TXTCOLOR value="0000ff">
<param name=BGCOLOR  value="ffffff">
<param name=TXTHIGHCOLOR value="ff0000">
<param name=SIZE     value="16">
<param name=PAUSE    value="150">
<param name=ENDPAUSE value="1000">
<param name=NUMBEROFLINKS    value="3">
<param name=LINK1 		    value="http://www.yahoo.com">
<param name=LINK2 		    value="http://www.altavista.com">
<param name=LINK3 		    value="http://www.webmagi.no">
<param name=LINKTXT1 		    value="YAHOO!">
<param name=LINKTXT2 		    value="Go to Altavista...">
<param name=LINKTXT3 		    value="Visit my company's web">
<param name=FONTFACE	value="Courier">
<param name=STYLE 	value="BOLD">

</applet>

Comments to the various parameters:

Blå linje
Parameter Name Comment
AUTHOR Always "Sondre Skaug Bjoernebekk, sondre@webmagi.no"
TXT The text to display, please note:"|" equals carriage return and you end the text with "#" .
TXTCOLOR The color of the text, in the "RRGGBB" format where RRGGBB is the hexadecimal color-code for the text-color (red, green and blue components). In the example, the TXTCOLOR is set to "0000ff". It looks quite blue too, don't you think ?
BGCOLOR The Color of the Applets background. Tip: Consider setting this to the same color as the HTML document's BGCOLOR.
TXTHIGHCOLOR The Color of the text when the mouse pointer if moved inside the Applet area. Set this to the same as TXTCOLOR if you don't want it to change.
SIZE Fontsize in points
PAUSE Delay between each letter, in milliseconds
ENDPAUSE Delay between each loop of displaying the text, in milliseconds
NUMBEROFLINKS The number of links to diplay in the popup menu.
LINKX The page to link to when this selection is madefrom the popup menu, use absolute reference. The X is a number from 1 to NUMBEROFLINKS
LINKTXTX The text to display on the popup menu for this option. The X is a number from 1 to NUMBEROFLINKS
FONTFACE The fontface to use, legal values are "TimesRoman", "Courier" and "Helvetica". Non-casesensitive. Default is Courier.
STYLE The style of the fontface, legal values are "BOLD", "PLAIN" and "ITALIC". Non-casesensitive. Default is PLAIN. Note that if you set illegal values for FONTFACE or STYLE, the applet will display Courier/BOLD. If you set one of the parameters correct however (and doesn't set the other at all), this value will be used and the default value for the other.

Download TypeIt2.class and TypeIt2$1.class from ftp.webmagi.no

19©98 (and all that stuff...) Sondre Skaug Bjørnebekk



The Webmagi main page