Insert a "<span class="CLASS">TEXT</span>" entry in a DOM tooltip.
The following parameters are recognized:
The text to be displayed to the end user.
The tooltip class to associate with the text (ttAction, ttAcronym, ttEmphasis, ... see domtt.css).
Example of using the macro:
@javascriptButton("showTextFile('${XMLDIR}/${TAG}.netxml');","Net XML","@toolTipAttr("@jsSpanClass("View","ttAction") the raw @jsSpanClass("ttEmphasis","${TAG}.netxml") file in a new @jsTabWindow()")")
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")
@javascriptButton("showTextFile('${XMLDIR}/${TAG}.netxml');","Net XML","@toolTipAttr("@jsSpanClass("View","ttAction") the raw @jsSpanClass("ttEmphasis","${TAG}.netxml") file in a new @jsTabWindow()")")
EOF
This macro is defined as:
<span class=\\'@param(1)\\'>@param(0)</span>