Inserts "double escaped" single quotes around text inside a tool tip with color highlighting.
The following parameters are recognized:
The text to put escaped single quotes around with color highlighting.
Optional text color: (defaults to the "toolTipSingleQuote" color if omitted).
Example of using the macro:
<span @toolTipAttr("My @jsqh("tooltip with single quote color highlighting!")")>My Text</span>
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/html.at
macros file has been
generated (Hint: run make atmacros in the
wui
directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#
java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")
<span @toolTipAttr("My @jsqh("tooltip with single quote color highlighting!")")>My Text</span>
EOF
This macro is defined as:
\\'\\<span style=\\'color: @fnb("@param(1)","@toolTipSingleQuote()");\\'\\>@param(0)\\</span\\>\\'