­TÃfBookFlip - Copyright (C) by Fabio Ciucci & Dolf Van Der Schaar 1998


This applet can execute a "book flip" transition between any identically
sized GIF or JPG images.
It is based on original code by Dolf Van Der Schaar that I am using under
license.

The following 3 ".class" files must be uploaded: bookflip.class, Lware.class
and anfy.class.

Insert the  tag in your html document as follows to add this applet
to your page (Comments after the ";" symbol are code explanations and
acceptable min/max values. They are not part of the applet language):


 ; Name, Width, Height

          ; Registration code (if you have it)
     ; Reglink opened in new frame?
 ; Name of new frame for reglink
               ; resolution (1-8)
    ; Image 1 to load
    ; Image 2 to load
    ; Image 3 to load
  ; Link 1
                       ; Link 2
  ; Link 3
   ; statusbar msg on image 1
   ; statusbar msg on image 2
   ; statusbar msg on image 3
             ; Flip effect img 1 (0 .. 7)
             ; Flip effect img 2 (0 .. 7)
             ; Flip effect img 3 (0 .. 7)
             ; speed of fade (1-255)
          ; pause (value = milliseconds).
           ; Extra height (applet w. - img w)
         ; Flip curve (1 .. 10)
           ; Shading (0 .. 4)
            ; Red in background (0 .. 255)
            ; Green in background (0 .. 255)
           ; Blue in background (0 .. 255)
          ; Optional image over applet
          ; Over image X offset
          ; Over image Y offset
       ; Memory deallocation delay
          ; Task priority (1..10)
          ; Min. milliseconds/frame for sync
Sorry, your browser doesn't support Java ; Msg in no java browsers


                             ---------


The following instructions detail how to change parameters:

The images (GIF and/or JPG) can be of any size, but all image dimensions must
be identical.

Attempting to change the credits parameter will disable the applet.
To activate the reg parameters read the shareware registration notes.
In the "regcode" parameter, place the registration code you
purchased from the author. If the code is correct and the applet is run from
the registered domain name, you can use "link" parameters to link to a URL
when the applet is "clicked".

If you set "regnewframe" to "YES", you can specify a specific frame location
for the reglink:

"_blank"  : To load the link in a new blank unnamed browser window.
"_self"   : To load the link into the same window the applet occupies.
"_parent" : To load the link into the immediate FRAMESET parent.
"_top"    : To load the link into the top body of the window.

You can also set a custom frame name, such as "myframe1".

With the "overimg" parameter you can specify the name of an image that will
be painted over the applet. The best options are transparent GIF images.
NOTE: Animated GIF images are supported, but will be displayed as animated
only on latest browsers (Netscape 4 and Explorer 4 or newer).
With "overimgX" and "overimgY" you can center the image over the applet area.

Applet size is determined by "res": "res=1" shows the graphic at natural size,
"res=2" shows it at double size, etc.

The "width" tag must be equal to images width.
The "height" tag must be equal to images height + extrah parameter.
The extrah detrmine how much the applet must be bigger than the image.
For example, if images are 100 pixels in height, and you place a value of
50 in extrah, the applet "height" must be 150.

It is important to update the width and height tags, otherwise the applet
will not display properly on browsers.

The number of images to have in the crossfading slideshow is unlimited, but
the minimum is 2.

If you want to fade between just 2 images, type:




If you want to fade between 3 images, type:





Repeat the code for each image. 

On each image, you can choose the kind of transition, using flip1, flip2,
flip3, ... etc parameters.
You can choose between 8 effects, placing a value from 0 to 7:
       
0: IN -> up-right
1: IN -> down-right
2: IN -> down-left
3: IN -> up-left
4: OUT -> down-left
5: OUT -> up-left
6: OUT -> up-right
7: OUT -> down-right

With "flipcurve" parameter you can change the flipping curve.
Placing in the "shading" parameter a value higher than 0, you will enable
an extra shading effect. This will slow down the applet in most cases.

You can change the displayed message for each different image in the
"statusmsg" code. "Statusmsg1" is the message displayed in the first image,
"statusmsg2" the second image, etc.

When you purchase and register the applet, the "link1","link2", etc.
parameters will be enabled and this applet can become a crossfade banner as
follows:



You can place a URL link related to each image.

The speed parameter determines the speed of fade between images. by
determining the number of frames. A good value is 8, but you can change
it as you want.

The pause, in milliseconds, determines the "hold" time for images between
the fades.

If "extrah" is greater than 0, remember to set the background colour same as
the html page colour.
With "backr", "backg" and "backb" parameters you can control the RED, GREEN
and BLUE components of the background color.


    Source: geocities.com/tokyo/harbor/7236

               ( geocities.com/tokyo/harbor)                   ( geocities.com/tokyo)