Advanced Newsticker Java Applet![]() ![]() | |||||||||
Advanced Newsticker Java Applet Commercial Version 2.0 ![]() Example 2 ![]() The Advanced Newsticker Java applet is available as part of Popular Applets Collection. Applet Features
As an example here's the code I used for the applet on top :
Information:
Advanced Newsticker's parameters are explained below : The following instructions describe the meaning of the available parameters for this applet: |
Parameters | Value |
<applet code="advnewsticker2.class" width="490" height="20"> | The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=advnewsticker2.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="490"> | Width of the applet. Please do not forget to set this parameter. It must be the same value with applet tag. |
<param name="applet_height" value="20"> | Height of the applet. Please do not forget to 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 your regcode. |
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com"> | Information about the Advanced Newsticker Java applet. The info parameter must be included for the applet to run. It is case sensitive, and the number of spaces between words must be identical. |
<param name="input_text" value="from_parameters"> | "from_parameters" or "from_file". Example2 reads text from file. |
<param name="text_file" value="input.txt"> | The name of the text file that contains the text to be scrolled. The file must reside in the same directory as the Java applet. Example2 reads text from file. |
<param name="bgcolor" value="EAEADA"> | Background color, in hexadecimal RGB format. |
<param name="text_color" value="000000"> | Color of the text messages, in hexadecimal RGB format. |
<param name="highlight_text_color" value="0000E0"> | This parameter will change the color of the text message 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 RGB format. |
<param name="font_type" value="Dialog"> | Name of the text font. Valid values are: "Helvetica", "TimesRoman", "Arial", "Courier" or "Dialog". |
<param name="font_size" value="11"> | Size of the text font. |
<param name="font_style" value="0"> | Style of the text font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic).. Example: <param name="font_style" value="0">. |
<param name="underline" value="no"> | "yes" or "no". |
<param name="border_thickness" value="1"> | Width of the applet border, in pixels. |
<param name="border_color" value="000000"> | Color of the applet border, in hexadecimal RGB format. |
<param name="highlight_border_color" value="000030"> | This parameter will change the color of the border 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. |
<param name="text_align" value="center"> | "left" and "center". This tag identifies alignment of the text messages. Can take one of these two values: "left" and "center". |
<param name="xoffset" value="5"> | "xoffset" is the horizontal extra distance from the left side of the applet to draw the message. |
<param name="yoffset" value="0"> | "yoffset" is the vertical extra distance from the top of the applet to draw the message. |
<param name="pause_time" value="3000"> | This is the time, in milliseconds, the text should be waiting before scroll again. |
<param name="hscroll_delay" value="8"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the horizontal scrolling. The lower the number, the faster it scrolls. |
<param name="vscroll_delay" value="30"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the vertical scrolling. The lower the number, the faster it scrolls. |
<param name="typewriter_delay" value="30"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the typing. The lower the number, the faster it types. |
<param name="fade_delay" value="100"> | This is the delay in milliseconds between redraws. In other words it represents the speed of the fading effect. The lower the number, the faster it fades in and out. |
<param name="effects" value="custom"> | "random"or "custom". |
<param name="custom_in_effects" value="1,2,3,4"> | If "effects" parameter's value is "custom", you can set (1-4). Please try the samples. Samples: "1,2,3,4" "3,4" "4,3,4,3,1,2,1,2" |
<param name="custom_out_effects" value="1,2,3,4"> | If "effects" parameter's value is "custom", you can set (1-4). Please try the samples. Samples: "1,2,3,4" "3,4" "4,3,4,3,1,2,1,2" |
<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. |
<param name="linkN" value=""> | The absolute and/or relative URLs. |
<param name="target_frameN" 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. |
</applet> | The last part works like all other HTML tags and defines the end of the applet tag </applet>. |
Text File Format |
Text|Link URL|Target Frame
Please do not forget putting "|" charecter between items. You have to use two "|" charecter each line. Example2 reads text from file. |
Getting Started
Troubleshooting & Support
|
|
|||
|
|||
|
|||