25pc.gif, 128 is the threshold for displaying the next parameter 50pc.gif, 192 is
the threshold for displaying the next image 75pc.gif, and 255 is the threshold
for displaying the last image on.gif.
RespIcon
Format:
<PARAM NAME=”RespIcon#”
VALUE="type, x, y, image, window #,
action, action,...,action">
Explanation:
This element is used to directly execute Actions via CWM as distinct from
Comfort Responses which reside in the Comfort Panel U4 IC. This may be used
when Comfort’s 255 Responses is not enough for the application. Be careful
when using this parameter so as not to conflict with the Timers, Flags and
counters which are already used by Comfort Responses.
This parameter is available from webcom.jar 1.0.9 onwards
“Type” is for future use. It is ignored currently; please use a default value of 1.
“x y” is the location of the image to be displayed. Coordinates are referenced
from the top left corner of the window and the size extends from the top left
corner of the image to the right and downwards.
“Image” is the image file which is displayed at the location specified.
“Window#” is the window number which this parameter belongs to.
“Action”,..,”action” is the list of actions to be executed. Each CWM Response is
made up of a maximum of 6 Actions. More than 1 CWM Response can be
executed in the same line by using “255” as a separator. For example, act1,
act2, act3, act4, act5, act6, 255, act7, act8, act8, act10, act11, act12 will
execute the first CWM response consisting of act1 to act6, followed by the
second CWM response consisting of act7 to act12. Note that actions cannot
start in a CWM response and end in the next.
Example 1:
<PARAM NAME=”RespIcon1”
VALUE="1, 10, 20, image1.gif, 1,
128,2,1,255, 195,65,1,5,”>
In the example, the Type is 1, location is (10,20), and window is 1. The first
CWM Action is 128, 2, 1 (Output 2 On), followed by the next CWM Response
195,65,1,5 (X10 A1 On).
IconHighlight
Format:
<PARAM NAME=”IconHighlight”
VALUE="Off">
Explanation:
By default when a user hover the mouse on any click-able image, the
rectangular border around the image becomes highlighted. This parameter
disables the highlighting feature. One of the instances where this might be used
is when multiple images are controlled by the same action as in a bank of
lights. If the highlight is enabled then placing the mouse over one of the lights
would cause a highlight over the whole bank of lights which some may prefer
not to see.
Comfort Webserver Module CWM02
48