Scroller 2

(c)Copyright 1997 RJHM van den Bergh.
http://www.nedernet.nl/~rvdb
rvdb@nedernet.nl   rvdb@rapnet.nl
ALL RIGHTS RESERVED.

For NON-commercial users:
This applet may be used for free on NON-commercial sites.
But we would like you to create a link to our site.
http://www.nedernet.nl/~rvdb/index.html

For Commercial users:
There is a fee US $20.-- that must be paid.
This is a compensation for my free time and expenses.
How to pay is described at the end of this letter.

Users that pay the fee get registered.
These users will recieve a news letter.
This newsletter contains information about bug fixes
updates and new applets.

---------------------
DISCLAIMER :
The use of this applet is at your own risk.
We normaly don't except any claims.
If we accept a claim the maximum will be the amouth
of money paid for this applet to us.

------------------------------------
DISCRIPTION:

This applet can scroll a picture in every direction you want.
On each picture an url can be attached.
This applet also supports html frames.

A border is optional.


------------------------------------
Instruction in short:

-Insert the applet tags in the body of your html page.
-Upload the class file and the pictures to the net.
 The class file must be in the same directory as the html file.
 The class file must also be uploaded to the net as an binary file.
 Check the filename of the class file on the server ,
 because some older Windows 3.1x FTP programs change the filename.
 (FTP=File Transvere Protocol)
 These Windows 3.1x FTP programs do use the olde short dos file names.
 Also the lettercassing of the files must match!!
-Then upload your html file which contain the applet tags to the net also.
Thats all

------------------------------------
Discription of the applet tags.

<APPLET CODE="Scroller2.class" WIDTH="250" HEIGHT="250">
CODE tells the browser only the name of the applet class file.
The applet class file is a small Java program wich is executed by the browser.
You can't set a path to the class file in the CODE attribute.
The class file is expected to be in the same directory as the html file.
WIDTH,HEIGHT are the size of the applet.

<PARAM NAME="bgcolor" VALUE="#000000">
This is the background color of the applet.
If you omit this whole tag the background color will be black.
Transparent gifs are not supported on all browsers.
Sometimed the Java virtual machines of the browser doesn't support it.
Advice change the transparent background color to the colors you want to display.

<PARAM NAME="background" VALUE="back.jpg">
It is possible to use a background picture for the applet.
The format of these pictures can be jpg or gif.
Transparent gifs are not supported on all browsers.
Sometimed the Java virtual machines of the browser doesn't support it.
Advice change the transparent background color to the colors you want to display.

<PARAM NAME="border_size" VALUE="25">
This is the size of the border.
If you don't want a border set the value to 0.
If you omit this whole tag there also will be no border.

<PARAM NAME="border_color_inside" VALUE="#60C060">
This is the outside color of the border
<PARAM NAME="border_color_outside" VALUE="#C06000">
This is the inside color of the border

<PARAM NAME="stepsize_x_direction" VALUE="0">
<PARAM NAME="stepsize_y_direction" VALUE="2">
This is the stepsize in pixels in wich the applet is moved.
Advice don't use a to high value.
Some of the older browser are quite slow.
On these browser the picture then will not move smootly.

<PARAM NAME="delay_time_between_steps" VALUE="1">
This is the time the applet waits before moving the picture with the next step.
It is used to slow down the movement of the picture.
(BugFix:If you set this parameter to 0 an IllegalMonitorException could occur.
 To prevent this the applet sets this delay applets sets the
 value from 0 to 1.)

<PARAM NAME="show_time" VALUE="5000">
When the picture is centered the applet waits before moving it.
So the people watching have some time to look at the picture.

<PARAM NAME="resize" VALUE="true">
This tag is added (13 februari 1998)
If it is set true the pictures will be resized to the applet size.
This way it is possible to use smaller pictures.
Smaller pictures do contain less bytes of data so they
will be loaded faster through the net.

NOTE :If a transparent gif is resized it will not be transparent
anymore.
The picture will not be resized if it already matches the applet size.
So if picture_width =applet_width -2*bordersize
and   picture_height=applet_height-2*bordersize it will not be resized.

<PARAM NAME="picture_1" VALUE="p1.gif">
<PARAM NAME="picture_2" VALUE="p2.gif">
This are the pictures the applet uses.
Ofcourse you can select other pictures.
The number of pictures is only limited by the computers memory.
The first picture is always one not zero.
This applet loads the picture just before it is needed.
This way the applet will start much faster on older browsers.

<PARAM NAME="url_1" VALUE="http://www.nedernet.nl/~rvdb/java.html">
<PARAM NAME="url_2" VALUE="mailto:rvdb@nedernet.nl">
It is possible to attach an url (=internet link) each picture.
It is optional so these tags can be omited.
Note: that the mailto: protocol is not supported by the Explorer 3.0
The Explorers 3.01 and 3.02 and 4.0 do support it.
Also Netscape browsers do support the mailto: protocol in their
Java virtual machine.

<PARAM NAME="target_1" VALUE="new_window">
To use this applet with html frames the browser must know the name
of that frame.
With this parameter tag you tell the browser the name of the frame.
If the frame name doesn't exist the applet will open a new browser window.
If you omit these tags the applet will act the same way as a "_top"

</APPLET>
This is the applet ending tag.

----------------------------------------
IMPORTEND INFO:

1: Allthough almost every browser supports Java applets without plug in
there still are a few that don't support it.
These browser will not execute the applet tags.
Also the applet tags will not be vissable.
But normal html tags between the applet start and ending tag will only be executed
by these browsers.

Java is a 32 bit language.
Most operating systems are 32 bit.
Such systems are: Windows95, Windows NT, UNIX, LUNIX, MacOs, Os/2 and some more.
A 16 bit operating system is Windows 3.1x.
At the end of the year Microsoft will stop supporting Windows 3.1x.
There is a browser available for Windows 3.1x with a java pluf in build in already.
You can get this browser at the Netscape web site.
I don't have experience with this plug in.
Also there still are people who use a 16 bit Windows3.1x program at their
Windows 95 operating system.
(about 97% of the browsers do support Java)

2:Applets can be tested of line on your local computer.
However the Explorer 3.01 and 3.02 will generate a security error and
will not run this applet.
There is a pach on the Microsoft site to adjust this.

3:The Java Virtual Machine of browsers do have their own cache.
This isn't the cache you clear with the pull down menus.
To clear the browser cashe you will have to close the browser and
all it components and restart it.
This especialy so if you replace the class file with another version.

4:Don't use the % sign for the width and height of the applet
Ms Explorer 3.0 does not support that.

-------------------------------------------
How to register:

cash or cheque to :
name              : RJHM van den Bergh.
street            : Aldenhof 67-24
postcode and city : 6537 DC NIJMEGEN
country           : Holland (=Netherlands)

or money order to:

BANKCODE    : ING BNL 2A ,
BANKNAME    : Postbank NV
CITY OFFICE : Arnhem
place       : NETHERLANDS = NL
MENTION     : for account nr. 2839775 (RJHM van den Bergh).




Comments Suggestions and bug reports are always welcome.
This way I can improve the applets.

send it to: rvdb@nedernet.nl



