|
Install Scroll Image
Scroll is purely Java based. It is designed to work in all major
browsers, with any GIF or JPEG image. It is very easy to install,
works just like any other Java applet, no special server software
is needed.
Just copy the
applets .class and .jar files into the web server, these files are
located in the Scroll.zip file. To display an image using Scroll,
use the following applet parameters in the HTML code:
Applet parameters:
Name: picture - name of gif or jpeg image to use
Value: Name of image, path is relative to the html document.
Example: <param name="picture" value="images/schipp.jpg">
Name: minscrollspeed - minimum scrollspeed when scrolling using
the mouse.
Value: Minimum number of pixels to scroll each time the images position
is updated
Example: <param name="minscrollspeed" value="1">
Name: maxscrollspeed - minimum scrollscpeed when scrolling using
the mouse.
Value: Maximum number of pixels to scroll each time the images position
is updated
Example: <param name="minscrollspeed" value="5">
Name: acceleration - how fast should the image accelerate when a
cursor key is held down.
Value: A value of 0.1 means the speed will change with 0.1 pixels
when the image is updated
Example: <param name="acceleration" value="0.1">
Name: domain - restrict Scroll to run on one domain
Value: name of domain Scroll is running on
Example: <param name="domain" value="www.artistscope.com">
Name: key - your license key
Value: Key obtained by buying an appropriate license
Example: <param name="key" value="xzxowpnzs">
Example HTML code:
If you have a domain license for the domain home.sol.no, and want
to show the image pretty.jpg (200x225 pixels), you simply have to
insert the following into your HTML code:
<applet archive=Scroll.jar code=Scroll.class name=Scroll width=200
height=225>
<param name="picture" value="images/schipp.jpg">
<param name="minscrollspeed" value="1">
<param name="maxscrollspeed" value="5">
<param name="acceleration" value="0.1">
<param name="domain" value="www.artistscope.com">
<param name="key" value="xzxowpnzs">
</applet>
This example assumes the applet code (Scroll.jar and all the .class
files) are copied into the same dir as the HTML code.
You can locate the applet code in another directory than the HTML
code itself, this might be more tidy. To call the applet, you can
then simply specify it's URL to the applet's directory using the
codebase parameter like this:
<applet codebase="http://www.yourdomain.com/applets/"
archive=Scroll.jar code=Scroll.class name=Scroll width=200 height=225>
UPLOADING:
The files needed to upload are those in the www folder. The images
must be located relative to the URL given by the codebase.
|