Advanced Newsticker Java AppletPopular Applets CollectionJava Applets Home
Advanced Newsticker Java Applet   
Commercial Version 2.0




Example 2Example 3

Advanced Newsticker is a single line news ticker applet with lots of configurations. This applet features many cool effects, such as horizontal scrolling, vertical scrolling, typing and fading.

The Advanced Newsticker Java applet is available as part of Popular Applets Collection.

Applet Features
  • The scroll content can be loaded from a separate text file or parameters
  • Smooth scrolling
  • Highlighted URL links
  • Custom text highlights
  • Full customizable font characteristics
  • Custom colored border
  • Text underline
  • Custom scroll delay
  • Configurable timing
  • Configurable margins
and more...



As an example here's the code I used for the applet on top :

<applet code="advnewsticker2.class" width="490" height="20">
<param name="applet_width" value="490">
<param name="applet_height" value="20">

<param name="regcode" value="">
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com">

<param name="input_text" value="from_parameters">
<param name="text_file" value="">

<param name="bgcolor" value="EAEADA">
<param name="text_color" value="000000">
<param name="highlight_text_color" value="0000E0">

<param name="font_type" value="Arial">
<param name="font_size" value="11">
<param name="font_style" value="0">
<param name="underline" value="no">

<param name="border_thickness" value="1">
<param name="border_color" value="000000">
<param name="highlight_border_color" value="000030">

<param name="text_align" value="center">
<param name="xoffset" value="5">
<param name="yoffset" value="0">

<param name="pause_time" value="3000">
<param name="hscroll_delay" value="8">
<param name="vscroll_delay" value="30">
<param name="typewriter_delay" value="30">
<param name="fade_delay" value="100">

<param name="effects" value="custom">
<param name="custom_in_effects" value="1,2,3,4">
<param name="custom_out_effects" value="1,2,3,4">

<param name="text1" value="Advanced Newsticker is a single line newsticker applet with lots of configurations.">
<param name="link1" value="http://www.appletcollection.com/popular.html">
<param name="target_frame1" value="_self">

<param name="text2" value="The scroll content can be loaded from a separate text file or parameters.">
<param name="link2" value="http://www.appletcollection.com/popular.html">
<param name="target_frame2" value="_self">

<param name="text3" value="Effects, such as horizontal scrolling, vertical scrolling, typing and fading.">
<param name="link3" value="http://www.appletcollection.com/popular.html">
<param name="target_frame3" value="_self">

<param name="text4" value="Example 2 shows how you can use text underline and highlighted border.">
<param name="link4" value="example2/default.html">
<param name="target_frame4" value="_self">

</applet>



Information:

Author: Gokhan Dagli
Site URL : http://www.appletcollection.com/
Applet URL : http://www.appletcollection.com/advnewsticker.html
Class File : advnewsticker2.class
eMail : info@appletcollection.com
This effect contains the code by Gokhan Dagli, used under a licence. Before using this applet you must read the license agreement.
You can use the applet freely to enhance your web pages (commercial or non-commercial). However, I placed a status bar message that will appear when the applet is online on a site and regcode parameter isn't correct.
Registration Fee : $39 . You can buy it when finished testing (try before you buy). Buy it once, use same regcode for new versions! You have to pay small amount of money to receive your registration codes (regcodes). You can buy the registration code using a credit card through Regnow secure servers. Click here!

The Advanced Newsticker Java applet is available as part of Popular Applets Collection.



Advanced Newsticker's parameters are explained below : The following instructions describe the meaning of the available parameters for this applet:


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

  • Place the class file (advnewsticker2.class) in the directory containing the HTML document into which you want to insert the applet (or into a different directory, and add the correct CODEBASE attribute).
  • Add the applet tag to your HTML document in the position you want Advanced Newsticker Java applet to appear.
  • 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 (entirely single-spaced). If you try to run the applet and you see the message "info parameter error", it denotes a problem with this parameter.
  • Java is case sensitive.


Troubleshooting & Support

  • Please send any questions, requests or remarks you might have to: info@appletcollection.com
  • Usually the easiest way to customize the applet is copy and paste the applet tag information used in the sample and modify it to fit your web page.
  • If you see a "class not found" message, this means what it says -- your browser can't find the .class file specified. You've forgotten to copy the .class file (advnewsticker2.class) to the necessary directory.
  • Make sure that your <APPLET> tag, closing </APPLET> tag, and all <PARAM> tags have < and > brackets. Check that the value for every parameter is enclosed between " signs.
  • If you see a NullPointerException displayed in the browser status-bar, it's most likely to be caused by a mistake in an parameter. Check it.
  • If the applet runs, but you can't make it do what you want it to do, please take another look at the documentation.




Advanced Newsticker Java Applet- Copyright (C) by Gokhan Dagli 2000-2003



Popular Applets Collection Java Applets

Advanced News Scroll

Advanced Newsticker

Horizontal Menu Scroll

Advanced Typewriter Scroll



Java Applets

Absolute Menu

Magic Text Scroll

Newsticker

A. Vertical Menu

Billboard

Magic Image

Colorbook

DissolveImage

Screw

FineDots

Java Applets Home



Text Effects Collection Java Applets

Announcer

A.H. Scrolling Text

Message Slider

Headline Typer

Flying Letters

Headlines

TypeWriter

Wipe Right