Inserts optional HTML escaped tooltip attribute for a entity.
The following parameters are recognized:
Inserts optional tooltip attribute for a entity. All special characters will be HTML escaped.
Optional width in "pixels" for the tooltip (defaults to "400" if omitted).
Example of using the macro:
<span@domTTAttr("Use The @ttCommand("NST File Viewer","true") To Examine This Page Source@tableTTBegin()@tableTTRow("Source File:","/etc/nst.conf","true")@tableTTEnd()","300")>File: /etc/nst.conf</span>
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/bash.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/bash.at",,"d")
<span@domTTAttr("Use The @ttCommand("NST File Viewer","true") To Examine This Page Source@tableTTBegin()@tableTTRow("Source File:","/etc/nst.conf","true")@tableTTEnd()","300")>File: /etc/nst.conf</span>
EOF
This macro is defined as:
@ifEqual("@param(0)","","","@htmlAttr("onmouseover","domTT_activate(this, event, 'content', unescape('$(url_esc_seq "@param(0)")'), 'width', @fnb("@param(1)","400"));")")