* * * Outline of the operation
(1) Uncompress ZIP file(down-loaded file), store uncompressed files and image files
in the same folder. The imge files which can be displayed is JPG and GIF.
Moreover, store the HTML file for the web page in the folder which
is the same above.
(2)Describe HTML, and line up image files divide by character "|"
in applet parameter tag. within 20 image files.
Do not put space on the way when image files divide by "|".
******* Exsample HTML ***************************************
<HTML><BODY>
<HEAD><TITLE>Java</TITLE></HEAD>
<APPLET code=Imgpro1.class width=600 height=400>
<PARAM name="images" value="sample1.jpg|sample2.jpg|sample3.jpg|sample4.jpg">
<PARAM name="paramDisplay" value="2">
<PARAM name="paramColor" value="3">
</APPLET>
</BODY></HTML>
* Specify the appropriate working size(width,height) for image size.
* Specifing Display style and Background color.
<PARAM name="paramDisplay" value="2">--- Specifing Display style "2"
<PARAM name="paramColor" value="3">--- Specifing Background color"3"(gray)
* * * Applet Parameter Description
(1) paramDisplay
Changing display style.
Exsample
<PARAM name="paramDisplay" value="2">--- Specifing Style "2"
(2) paramColor.paramRGB
The specification of the color includes the character color
and the background color.
Background color --- paramColor or paramRGB
Character color --- paramColor2 or paramRGB2
Specifying the color includes the method by paramColor and paramRGB.
2-1 Specification by color number (0-3)(Easy specification method )
<PARAM name="paramColor" value="0"> --- black (default)
<PARAM name="paramColor" value="1"> --- white
<PARAM name="paramColor" value="2"> --- red
<PARAM name="paramColor" value="3"> --- gray
2-2 Specification by RGB
An arbitrary color can be specified by setting RGB value by the hexadecimal.
Example <PARAM name="paramRGB" value="ffff00"> --- yellow
<PARAM name="paramRGB" value="0000ff"> --- blue
(3) paramTime
Adjustment of the interval time for changing images.
<PARAM name="paramTime" value="1"> --- (default)
<PARAM name="paramTime" value="2"> --- increases to twice that of a standard setting.
<PARAM name="paramTime" value="3"> --- increases to three times that of a standard setting.
* Slow down as increase value
(4) paramPanel
The display style can be easily confirmed by pushing the button
displayed in the panel.
The button corresponds to the value of paramDisplay.
<PARAM name="paramPanel" value="0"> --- hide (default)
<PARAM name="paramPanel" value="1"> --- show
(5) imageDir
Putting image files to the other folder.
The folder where the image file is put in the parameter named
imageDir can be specified. It is possible to put the image file
on the other folder (low level folder).
Exsample
<PARAM name="imageDir" value="image"> image: Arbitrary folder name
<PARAM name="images" value="sample1.jpg|sample2.jpg|sample3.jpg|sample4.jpg">
* Do not put space on the way, when image files divied by "|"
(6) paramTarget
Two applets (Txtpro.class and Imgpro.class) synchronize and
operate to display the explanation panel.
First, specify the parameter name="paramTarget" value="text" to the Imgpro.
And specify name="text" in the applet tag of Textpro.
Line up the text(explanation) divide by "|" in applet parameter tag.
To omit part, "-" is specified for the part. "\n" is inserted when changing line.
---- Example ------------------------------------------
<applet code=Imgpro.class width=500 height=230>
<PARAM name="images" value="sample1.jpg|sample2.jpg|sample3.jpg|sample4.jpg">
<PARAM name="paramTarget" value="text">
</applet>
<applet code="Txtpro.class" width=500 height=100 name="text">
<PARAM name="texts" value="Mt.Fuji\n Sample1 | Mt.akadake\n Sample2 | mt.kitadake\n Sample3
| Hirogaeara\n Sample4 ">
</applet>
(note) Does not operate correctly if the number of images is not
corresponding to the number of texts.
(7) paramRepeat
When all images are displayed, it can be specified whether to repeat the
display by returning to the start.
<PARAM name="paramRepeat" value="1"> --- Continue applet working (default)
<PARAM name="paramRepeat" value="0"> --- Stop applet working
(8) paramCaption
Specifing a caption when applet start.
Exsample
<PARAM name="paramCaption" value="Pictures Loading ! wait a minutes ">
* Specifing Font color: <PARAM name="paramRGB2" value="ff8080"> -- pink
* Specifing Font size : <PARAM name="paramSize" value="30">
* Specifing Font Bold : <PARAM name="paramBold" value="1">
(9) paramTitle
The title can be displayed with the image. When you display the plural, line up
the title divide by "|" in applet parameter tag.
Does not operate correctly if the number of images is not corresponding
to the number of titles.
Exsample
<PARAM name="images" value="sample1.jpg|sample2.jpg|sample3.jpg">
<PARAM name="paramTitle" value="Japan Alps|MT.Fuji|Tanzawa">
(10) paramMSG
The message can be displayed with the image. The number of messages which can be specified
is only one.
Exsample
<PARAM name="paramMSG" value="Alpine Photographic Workshop...... Alpine photographic workshop">
(11) paramSize
An character size can be specified.
Exsample
<PARAM name="paramSize" value="25">
(12) paramPosition
The position where the character is displayed can be specified.
A horizontal position or the vertical direction position is different
according to the display style.
Exsample
<PARAM name="paramPosition" value="30"> --- (default"30")
(13) paramBold
Specification Font Thickness.
Exsample
<PARAM name="paramBold" value="0"> --- normal
<PARAM name="paramBold" value="1"> --- thick
(14) paramFontName
Specification Font Name.
Exsample
<PARAM name="paramFontName" value="TimesRoman">
<PARAM name="paramFontName" value="Ariel">
(15) paramNUM
Specification different according to the applet.
Image-Projector-2 ----> Display image number specification
Image-Projector-3 ----> Size of oval orbit
Image-Projector-4 ----> Images clear cycle
|