glossSub

Syntax glossSub (whatGlossEntry, whatText, whatTarget, anchor, class)

Params whatGlossEntry is the name of a glossary item.

whatText is the line text to appear.

whatTarget is an optional HTML target.

anchor is an optional HTML anchor.

class is an optional HTML class.

Action Generates the HTML for a link to a page in the glossary, substituting whatText for the glossary entry's name.

Returns A string, the HTML link.

Examples html.data.standard.macros.glossSub ("Macintosh", "Apple Macintosh")
"<a href="http://www.apple.com/">Apple Macintosh</a>

Notes This macro works with both relative and absolute glossary entries.

This macro is stored at html.data.standardMacros.glossSub.

Discuss