@ttDownloadContent(URL, [WIDTH], [TITLE], [KEYTITLE])

Inserts a domTT tooltip for displaying "URL" content download.

The following parameters are recognized:

URL

URL addres of content to download.

[WIDTH]

Optional width in "pixels" for the tooltip (defaults to "400" if omitted).

[TITLE]

Optional title override: "'Download' the 'content' to your local system:".

[KEYTITLE]

Optional key title override: "URL".

Example of using the macro:

      
        This is a NST change listing file: <span@ttNSTFileViewer("http://www.networksecuritytoolkit.org/downloads/changes.zip","300")>@link("http://www.networksecuritytoolkit.org/downloads/changes.zip")</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")

      
        This is a NST change listing file: <span@ttNSTFileViewer("http://www.networksecuritytoolkit.org/downloads/changes.zip","300")>@link("http://www.networksecuritytoolkit.org/downloads/changes.zip")</span>
      
    
EOF

This macro is defined as:

@domTTAttr("@ifEqual("@param(2)","","@ttLine1px("@ttAction("Download") the @ttEmphasis("Content","false") to your local system:")","@param(2)")@tableTTBegin()@tableTTRow("@ifEqual("@param(3)","","URL","@param(3)")","@param(0)","true")@tableTTEnd()","@param(1)")