Parameter | Default | Meaning |
CODE="SoundClock.class" | Indispensable |
Name is not changed.
( Possibility that change if source program is changed ) |
WIDTH | Indispensable |
The width of the display window is designated.
( It adjusts with the width of the image gif or jpg ) |
HEIGHT | Indispensable |
The height of the display window is designated.
( It adjusts with the height of the image gif or jpg ) |
image |
Designated with
backred
backgreen
backblue |
The image file that uses as the background is designated.
In the case that the image file is in same folder that is included HTML file the file name is designated directly. In the case that the image file is in the folder of a subordinate furthermore relativity is designated.
Relativity designated example) "picture/clockback2.jpg"
As for the kind of the file that is able to handle as the image, there is the following thing.
gif form
jpg form
xbm form |
|
backred | 0 | The red proportion of the background is designated. ( 0 to 255 ) | Default designated be black. |
backgreen | 0 | The green proportion of the background is designated. ( 0 to 255 ) |
backblue | 0 | The blue proportion of the background is designated. ( 0 to 255 ) |
digital | true |
Whether the digital clock is displayed or not is designated.
Displays : true
Does not display : false ( Except for true ) |
analog | true |
Whether the analog clock is displayed or not is designated.
Displays : true
Does not display : false ( Except for true ) |
Below setting parameter regarding the digital clock |
h_fontsize | 20 | The size of the Hour display letter is designated in a point. |
m_fontsize | 20 | The size of the Minute display letter is designated in a point. |
s_fontsize | 20 | The size of the Second display letter is designated in a point. |
s01x | 70 |
The position of the horizontal axis( X coordinate ) of 1 place of the second is designated with pixel.
( Standard point be the left end of the image ) |
s01y | 20 |
The position of the vertical axis( Y coordinate ) of 1 place of the second is designated with pixel.
( Standard point be the left end of the image )
When '0' is designated the letter becomes outside an image area and be not displayed. |
s10x | 60 | The position of the horizontal axis( X coordinate ) of 10 places of the second is designated with pixel. |
s10y | 20 | The position of the vertical axis( Y coordinate ) of 10 places of the second is designated with pixel. |
m01x | 40 | The position of the horizontal axis( X coordinate ) of 1 place of the minute is designated with pixel. |
m01y | 20 | The position of the vertical axis( Y coordinate ) of 1 place of the minute is designated with pixel. |
m10x | 30 | The position of the horizontal axis( X coordinate ) of 10 places of the minute is designated with pixel. |
m10y | 20 | The position of the vertical axis( Y coordinate ) of 10 places of the minute is designated with pixel. |
h01x | 10 | The position of the horizontal axis( X coordinate ) of 1 place of the hour is designated with pixel. |
h01y | 20 | The position of the vertical axis( Y coordinate ) of 1 place of the hour is designated with pixel. |
h10x | 0 |
The position of the horizontal axis( X coordinate ) of 10 places of the hour is designated with pixel.
Ten places of hour are displayed only in 10 o'clock, 11 o'clock. Blank letter is displayed except for it.( It is not seen )
That case, it changes and adjusts the clock of PC. |
h10y | 20 | The position of the vertical axis( Y coordinate ) of 10 places of the hour is designated with pixel. |
Below setting parameter regarding the analog clock |
clock_x | Center | The horizontal axis position( an abscissa ) of the center where displays the clock is designated with pixel. |
clock_y | Center | The vertical axis position( an ordinate ) of the center where displays the clock is designated with pixel. |
size | 60 | The radius of the size of the clock is designated with pixel. |
Below setting parameter regarding the sound |
sound | no sound |
The file of the sound resource is designated.
The file form is only the "au" form.
In the case that the sound file is in same folder that is included HTML file the file name is designated directly.
In the case that the sound file is in the folder of a subordinate furthermore relativity is designated.
Relativity designated example) "sound/gong.au" |