Java Applets Home
![]() ![]() | |||||||||||
Headline Typer Java Applet Commercial Version 2.0
![]() Example 2 ![]()
As an example here's the code I used for the applet on top :
Information:
Headline Typer's parameters are explained below : The following instructions describe the meaning of the available parameters for this applet: |
Parameters | Value |
<applet code="hlinetyper2.class" width=290 height=135> | The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=hlinetyper2.class, identifies the name of the Java applet. The second and third part of the applet tag identify the width and height of the applet (usually measured in screen pixels). |
<param name="applet_width" value="290"> | Width of the applet. Please do not forget set this parameter. It must be the same value with applet tag. |
<param name="applet_height" value="135"> | Height of the applet. Please do not forget set this parameter. It must be the same value with applet tag. |
<param name="regcode" value=""> | Registration code (if you have it). Place the registration code you purchased from us into value section of this parameter. You have to pay small amount of money to receive your registration code (regcode). Click here to buy regcode. |
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com"> | Information about the Headline Typer Java applet. |
<param name=type_delay value="20"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the type. To make your animation more fluid you should decrease the time Typically 5:minimum, 80:maximum , 10-40 :good. |
<param name=scroll_delay value="8"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the scroll. ( Typically 5:minimum, 100:maximum , 5-50 :good). |
<param name="target_frame" value="_self"> | Target frame. Sometimes you want the URL to be opened in a particular frame or in a completly different window. Use this parameter to specify the destination of the URL to open. |
<param name="titleN" value=" "> | Title. (N =1,2,3...). You must start at 1 and increase by 1 at each time. Use "#" for jumping next line. Use " " for extra space. |
<param name="title_fontN" value="Helvetica,1,16,6"> | "Font type, font style, font size, yspace" This will specify the font name, font type, font size and yspace (Extra space between text lines.) used to display the title. You may choose from among many fonts. For example Arial, Helvetica, Courier and TimesRoman. It is case sensitive. For font style, use 0 for PLAIN, 1 for BOLD, 2 for ITALIC or 3 for ITALIC BOLD to set the style of the display. "ysapace" is the extra space between text lines. Examples: "TimesRoman,3,22,10" "Courier,0,20,0" "Arial,2,14,0" |
<param name="textN" value=" "> | Message body. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time. The text message to show. Use "#" for jumping next line. Use " " for extra space. |
<param name="delayN" value="3000"> | This is the time, in milliseconds, the text should be waiting before scroll again. |
<param name="fontN" value="Arial,1,26,10"> | "Font type, font style, font size, yspace" This will specify the font name, font type, font size and yspace (Extra space between text lines.) used to display the text. You may choose from among many fonts. For example Arial, Helvetica, Courier and TimesRoman. It is case sensitive. For font style, use 0 for PLAIN, 1 for BOLD, 2 for ITALIC or 3 for ITALIC BOLD to set the style of the display. "ysapace" is the extra space between text lines. Examples: "TimesRoman,3,22,10" "Courier,0,20,0" "Arial,2,14,0" |
<param name="colorN" value= "FFFFFF,0011AA,000000,AA0000,AA0000"> | "background color, title color, text color, highlight title color, highlight text color". "background color" is the background color for text messages. "highlight text color":This parameter will change the color of the messages to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal colors. "highlight title color":This parameter will change the color of the title to the specified color when your mouse moves over the applet. This will only occur if there's an associated URL for the current text. You must use hexadecimal colors. |
<param name="text_align_valignN" value="center,center"> | "alignment of the text messages, vertical alignment of the text messages" alignment:center,left,right. vertical alignment:center,top,bottom |
<param name="offsetN" value="10,0,10"> | "left margin width, top margin height, right margin width". |
<param name="linkN" value=""> | The absolute and/or relative URLs. |
<param name="status_bar_msgN" value="Headline Typer Java Applet"> | You can set a message for each text message in the "status_bar_msg" code. "status_bar_msg1" is the message displayed with the first text message, "status_bar_msg2" the second image, etc. |
</applet> | The last part works like all other HTML tags and defines the end of the applet tag </applet>. |
Getting Started
Troubleshooting & Support
|
|
|||
|
|||
|
|||