Magic Text Scroll


The following instructions describe the meaning of the available parameters for this applet:

<applet code="magic_textscroll.class" width=380 height=40>

The applet tag identifies the location, class file name, and size of a Java applet. The first part of the tag code=magic_textscroll.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="applet_width" value="480">

Width of the applet. Please do not forget set this parameter. It must be same value with applet tag.

<param name="applet_height" value="40">

Height of the applet. Please do not forget set this parameter. It must be same value with applet tag.

<param name=regcode value="">

Registration code (if you have it). In the "regcode" parameter, place the registration code you purchased from us. You have to pay small amount of money and receive your registration code (regcode).

<param name="info" value="Applet by Gokhan Dagli,japplets.tripod.com">

Information about the Magic Text Scroll.

<param name=bgcolor value="ffffff">

Background color of the applet.

<param name=text_count value="2">

Count of the texts.

<param name=text1 value="NOW! NOW! http://japplets.tripod.com NOW! NOW!">

First text.

<param name=text2 value="You can download and use Magic Text Scroll ! Fast, flexible and cool ! You can scroll two or more messages left to right or right to left !">

Second text.

<param name=textcolor1 value="bfbfbf">

Text color (first one).

<param name=textcolor2 value="0000cf">

Text color (second one).

<param name=font_type1 value="Arial">

Font type of the first text.

<param name=font_type2 value="Arial">

Font type of the second text.

<param name=font_style1 value="0">

Font style (0->Plain,1->Bold,2->Italic,3->Bold+Italic).

<param name=font_style2 value="1">

Font style (0->Plain,1->Bold,2->Italic,3->Bold+Italic).

<param name=font_size1 value="24">

Font size.

<param name=font_size2 value="12">

Font size.

<param name=delay_time value="16">

Scroll delay.

<param name=wait_period1 value="1">

Wait period.

<param name=wait_period2 value="1">

Wait period.

<param name=animation_step1 value="1">

animation_step is the distance in screen pixels to jump between frames. (for first text)

<param name=animation_step2 value="2">

animation_step is the distance in screen pixels to jump between frames. (for second text)

<param name=direction1 value="false">

true or false.(true for right to left, false for left to right)

<param name=direction2 value="true">

true or false.(true for right to left, false for left to right)

<param name=link value="http://japplets.tripod.com">

Link URL.

<param name=target_frame value="_self">

Target frame.

</applet>

The last part works like all other HTML tags and defines the end of the applet tag </applet>.

Getting Started

  • Place the class file (magic_textscroll.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 "magic text scroll" 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.

Back to Magic Text Scroll

How to Add Java Applets to Your Site

New on the Java Boutique:

New Review:

Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling API boasts simplicity, ease-of-integration, a well-rounded feature set, and it's free!

New Applet:

Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA sequences into three useful formats.

Elsewhere on internet.com:

WebDeveloper Java
Lots of Java information on webdeveloper.com

WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.

ScriptSearch Java
Hundreds of free Java code files to download.

jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.