NewsTicker installation

To install NewsTicker you have to do the following:

  1. Copy NewsTicker.class.
  2. Put the following code in your html page:

<applet code="NewsTicker.class" archive=NewsTicker.jar width="170" height="205">
<param name="bgimg" value="images/JMNews2.gif">
<param name="imgxpos" value="0">
<param name="imgypos" value="0">
<param name="bgcr" value="c0c0c0">
<param name="headcr" value="404040">
<param name="strcr" value="ffffff">
<param name="headcrin" value="2E0082">
<param name="strcrin" value="800080">
<param name="headalign" value="center">
<param name="stralign" value="left">
<param name="headfntname" value="TimesRoman">
<param name="headfntsz" value="12">
<param name="headfntsty" value="1">
<param name="strfntname" value="TimesRoman">
<param name="strfntsz" value="11">
<param name="strfntsty" value="1">
<param name="scrolldelay" value="30">
<param name="typedelay" value="40">
<param name="brdrsz" value="2">
<param name="brdrcr" value="404040">
<param name="lmargin" value="40">
<param name="tmargin" value="10">
<param name="rmargin" value="10">
<param name="bmargin" value="10">
<param name="vs" value="60">
<param name="headls" value="5">
<param name="strls" value="1">
<param name="head1" value="Advanced News Scroll">
<param name="str1"
value="News Ticker is a vertical text scroller.">
<param name="url1" value="http://store.eSellerate.net/s.asp?s=STR212984678">
<param name="tar1" value="_self">
<param name="head2" value="Ticker Features...">
<param name="str2"
value="smoll size, fast load, smooth scrolling, highlighted URL links, optional border, configurable margins ,and background image.">
<param name="url2" value="http://store.eSellerate.net/s.asp?s=STR212984678">
<param name="tar2" value="_self">
<param name="head3" value="Pricing ...">
<param name="str3"
value="Just $29.95 To Get This News Ticker Applet, and to use it in your site">
<param name="url3" value="http://store.eSellerate.net/s.asp?s=STR212984678">
<param name="tar3" value="_self">
</applet>

3) And this is the parameter description:

Parameter Name

Description

bgimg

The background image

imgxpos

The image X-Axis position.

bgcr

The background color.

imgypos

The image Y-Axis position.

headfntname

The head title Font name

headfntsz

The head title font size

headfntsty

The head title font style , it could be the following :

0: for PLAIN head title

1: for BOLD head title

2: for ITALIC head title

3: for ITALIC+BOLD head title.

headcr

The head title color

headcrin

The head title color when the mouse in over it.

headalign

The head title align, it could be:

left.

center.

Right

headls

The head line spacing.

scrolldelay

The scrolling time delay

typedelay

Typing delay time

brdrsz

The border size

brdrcr

The border color

vs

The vertical spacing between two paragraphs

lmargin

The applet left margin

rmargin

The applet right margin

tmargin

The applet top margin

bmargin

The applet bottom margin

strfntname

The text Font name

strfntsz

The text font size

strfntsty

The text font style, it could be the following :

0: for PLAIN head title

1: for BOLD head title

2: for ITALIC head title

3: for ITALIC+BOLD head title.

strcr

The text color

strcrin

The text color when the mouse in over it.

stralign

The text align, it could be:

left.

center.

Right

datafile

name of the text file that contains the data for the menu applet.

the text lines must be like the following format:
head1|str1|url1|tar1
head2|str2|url2|tar2

for more information see demo3.htm
Note: if you supply the datafile parameter, you can ignore the headX,strX,urlX,tarX parameters.

head1

The first headline text

str1

The first text

url1

The fist text and headline link

tar1

The 1st text and headline target page.