RTML Examples: Background and Foreground Example Information

A number of embeded quotes in the Background and Foregound Example have used one or more the following attributes:

Attribute Description
Name Value
bgchange rel | abs This attribute defines what constitutes "up" and what constitutes "down" for the purpose of determining temporary background colour change (flashing) when a value updates.
bgdn valid HTML color Defines the colour to be used for the background flash for a "down" update.
bgeq valid HTML color Defines the colour to be used for the background flash for a "no change" update.
bgup valid HTML color Defines the colour to be used for the background flash for a "up" update.
bg valid HTML color Shorthand for setting the attributes bgup, bgeq and bgdn to the same value.
fgchange rel | abs This attribute defines what constitutes "up" and what constitutes "down" for the purpose of determining temporary foreground colour(text) change when a value updates.
fgdn valid HTML color Defines the colour to be used for the foreground flash for a "down" update.
fgeq valid HTML color Defines the colour to be used for the foreground flash for a "no change" update.
fgflash valid HTML color Defines the colour to which the foreground (i.e. text) changes for the duration of a background ‘flash’. The purpose of fgflash is to reverse the text so that it is still visible when the background changes colour.
fgup valid HTML color Defines the colour to be used for the foreground flash for a "up" update.
fg valid HTML color Shorthand for setting the attributes fgup, fgeq and fgdn to the same value.
flashtime milliseconds The length of time in milliseconds for which the background to each element remains highlighted (‘flashes’) when the value of that element updates. If flashtime is set to zero, background flashing is turned off.
flashtime (unary) This is a unary attribute, which tells RTML to replace the incoming value with a graphic to show whether the value has gone up or down. indicator uses the fgchange attribute to define what constitutes "up" and what constitutes "down".
gfxdn img URL This attribute enables you to use your own symbol or graphic to indicate that an updated value is less than the previous value.
gfxeq img URL This attribute enables you to use your own symbol or graphic to indicate that an updated value is the same as the previous value.
gfxup img URL This attribute enables you to use your own symbol or graphic to indicate that an updated value is greater than the previous value.