A. News Scroll Java AppletPopular Applets CollectionJava Applets Home
Advanced News Scroll Java Applet   
Commercial Version 2.0




Example 2Example 3Example 4Example 5

Advanced News Scroll is a highly configurable vertical text scroller and vertical news ticker. This applet features smooth scrolling, highlighted URL links, the scroll content can be loaded from a separate text file or parameters, optional border, configurable margins ,and background image.

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

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



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

<applet code="advnewsscroll.class" width="170" height="205">
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com">
<param name="regcode" value="">

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

<param name="scroll_mode" value="scroll">

<param name="bgimage" value="text4.jpg">
<param name="image_xposition" value="0">
<param name="image_yposition" value="0">

<param name="bgcolor" value="000000">

<param name="title_color" value="ffcc00">
<param name="text_color" value="dddddd">
<param name="highlight_title_color" value="80a0d0">
<param name="highlight_text_color" value="50b5f0">

<param name="title_align" value="left">
<param name="text_align" value="left">

<param name="title_font_type" value="Helvetica">
<param name="title_font_size" value="12">
<param name="title_font_style" value="1">

<param name="text_font_type" value="Helvetica">
<param name="text_font_size" value="11">
<param name="text_font_style" value="0">

<param name="title_underline" value="no">
<param name="text_underline" value="no">

<param name="scroll_delay" value="30">
<param name="pause" value="3000">

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

<param name="left_margin" value="10">
<param name="top_margin" value="10">
<param name="right_margin" value="5">
<param name="bottom_margin" value="10">

<param name="vertical_space" value="20">
<param name="title_linespace" value="0">
<param name="text_linespace" value="0">

<param name=title1 value="Advanced News Scroll">
<param name="text1" value="Advanced News Scroll is a highly configurable vertical text scroller and vertical news ticker.">
<param name="link1" value="http://www.appletcollection.com/advnewsscroll.html">
<param name="target_frame1" value="_self">

<param name="title2" value="Applet Features">
<param name="text2" value="This applet features smooth scrolling, highlighted URL links, optional border, configurable margins ,and background image.">
<param name="link2" value="http://www.appletcollection.com/advnewsscroll.html">
<param name="target_frame2" value="_self">

<param name=title3 value="Input Text File">
<param name="text3" value="The scroll content can be loaded from a separate text file or parameters.">
<param name="link3" value="http://www.appletcollection.com/advnewsscroll.html">
<param name="target_frame3" value="_self">

<param name=title4 value="Example 2">
<param name="text4" value="Example 2 shows how you can use separate text file to read scroll content.">
<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/advnewsscroll.html
Class File : advnewsscroll.class
Mail : 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 . Please try it before you buy it. Buy it once, use the same regcode for new versions! You have to pay small amount of money to receive your registration code (regcode). You can buy the registration code using a credit card through Regnow secure servers. Click here!

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



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


ParametersValue
<applet code="advnewsscroll.class" width="170" height="200">The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=advnewsscroll.class, identifies the name of the Java applet. The second and third part of the applet tag identifies the width and height of the applet (usually measured in screen pixels).
<param name="info" value="Applet by Gokhan Dagli,www.appletcollection.com">Information about the Advanced News Scroll 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="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.You can buy the registration code using a credit card through Regnow secure server. It also accepts Checks and Money Orders.
<param name="input_text" value="from_parameters">"from_parameters" or "from_file".
Example2 and Example3 read text from file.
<param name="text_file" value="">The name of the text file that contains the text to be vertically scrolled. The file must reside in the same directory as the Java applet.
Example2 and Example3 read text from file.
<param name="scroll_mode" value="scroll">"page" or "scroll".
Example4 uses page mode. Click here to see.
<param name="bgimage" value="b15.jpg">The file name of a GIF or JPEG image that will be drawn behind the scrolling text. The file path is based starting with the directory in which the Java applet is located. If you don't want to use backgroung image, please use this tag like this:
<param name="bgimage" value="">
Example3 doesn't use background image. Click here to see.
<param name="image_xposition" value="0">Horizontal position of the background image, in pixels.
<param name="image_yposition" value="0">Vertical position of the background image, in pixels.
<param name="bgcolor" value="000000">Background color, in hexadecimal RGB format.
<param name="title_color" value="ffcc00">Color of the titles, in hexadecimal RGB format.
<param name="text_color" value="ffffcc">Color of the text messages, in hexadecimal RGB format.
<param name="highlight_title_color" value="80a0d0">This parameter will change the color of the titles 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="highlight_text_color" value="50b5f0">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="title_align" value="left">"left", "center",or "right".
This tag identifies alignment of the title messages. Can take one of these three values: "left", "center" ,or "right".
<param name="text_align" value="left">"left", "center",or "right".
This tag identifies alignment of the text messages. Can take one of these three values: "left", "center" ,or "right".
<param name="title_font_type" value="Helvetica">Name of the title font. Valid values are: "Helvetica", "TimesRoman", "Courier" and "Arial".
<param name="title_font_size" value="12">Size of the title font.
<param name="title_font_style" value="1">Style of the title font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic)..
Example:
<param name="title_font_style" value="1">.
<param name="text_font_type" value="Helvetica">Name of the text font. Valid values are: "Helvetica", "TimesRoman", "Courier" and "Arial".
<param name="text_font_size" value="11">Size of the text font.
<param name="text_font_style" value="0">Style of the text font ("0"=plain, "1"=bold, "2"=italic, "3"=1+2=bold+italic)..
Example:
<param name="title_font_style" value="0">.
<param name="title_underline" value="no">"yes" or "no".
<param name="text_underline" value="no">"yes" or "no".
<param name="scroll_delay" value="30">This is the delay in milliseconds between redraws. In other words it represents the speed of the scrolling. The lower the number, the faster it scrolls.
<param name="pause" value="3000">This is the time, in milliseconds, the text should be waiting before scroll again.
<param name="border_thickness" value="2">Width of the applet border, in pixels.
<param name="border_color" value="d0d0a0">Color of the applet border, in hexadecimal RGB format.
<param name="left_margin" value="10">Margin at the left of the applet, in pixels.
<param name="top_margin" value="10">Margin at the top of the applet, in pixels.
<param name="right_margin" value="10">Margin at the right of the applet, in pixels.
<param name="bottom_margin" value="10">Margin at the bottom of the applet, in pixels.
<param name="vertical_space" value="24">To create a blank space to separate paragraphs. This controls how much space is between each paragraphs.
<param name="title_linespace" value="0">Space between lines of title texts, in pixels.
<param name="text_linespace" value="0">Space between lines of text, in pixels.
<param name="titleN" value="000000">Title of the text message. (N =1,2,3...,number of message). You must start at 1 and increase by 1 at each time. You can use # symbol to jump next line.
<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. You can use # symbol to jump next line.
<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

 
Title|Text|Link URL|Target Frame

Please do not forget putting "|" charecter between items. You have to use three "|" charecter each line.

Example2 and Example3 read text from file.


Getting Started

  • Place the class file (advnewsscroll.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 News Scroll Text 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.


Linking to My Web Site

If you use unregistered version of this applet in your own website and you want to include a link to my homepage, you can use the images "sbn.gif" or "bbn.gif" and type this HTML code in your pages:


java applets

<a href="http://www.appletcollection.com/"><img src="sbn.gif" alt="java applets"></a>

java applets

<a href="http://www.appletcollection.com/"><img src="bbn.gif" alt="java applets"></a>

This is absolutely optional. I will be very happy if you do so.
Thanks.

Troubleshooting & Support

  • Please send me any questions, requests or remarks you might have to: info@appletcollection.com
  • Usually the easiest way to customize the applet is cut 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 files specified. You've forgotten to copy the .class file (advnewsscroll.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 News Scroll Java Applet- Copyright (C) by Gokhan Dagli 2000-2005



Java Applets

Absolute Menu

Magic Text Scroll

Newsticker

Colorfader

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



Popular Applets Collection Java Applets

Horizontal Menu Scroll

Advanced Newsticker

Advanced News Scroll

Advanced Typewriter Scroll