Typically inserts an HTML link with a domTT tooltip to another section on the page.
The following parameters are recognized:
Section name used in the DOMTT.
URL address to section name to jump to.
The text to appear in the HTML page.
Optional width in "pixels" for the tooltip (defaults to "400" if omitted).
Optional value to bold face the LABEL. Default: true. Set to "false" to use a "normal" face.
Example of using the macro:
Go to the @jumpLinkSectionTT("Help","#helpdocs","Help") section for further details.
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")
Go to the @jumpLinkSectionTT("Help","#helpdocs","Help") section for further details.
EOF
This macro is defined as:
<span@htmlAttr("style","font-weight: @ifEqual("@param(4)","false","normal","bold");")@toolTipAttr("@jsn("Jump") to @jstc("Section","@toolTipEmphasis()"): @jsdh("@param(0)")","@fnb("@param(3)","$(calcDomTTLen "@param(0)" 110)")")>@link("@param(1)","@param(2)")</span>