Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 25 Generating WAI markup for HTML > 25.3 Applying WAI markup to links > 25.3.2 Assigning WAI link attribute values with dedicated formats
You can designate a paragraph format whose content will be the text for the following link. For example, suppose you use paragraph format Linkname for this purpose:
; LinkTitle makes current para content into title attr for next link
In your FrameMaker document, just before the link you would insert
a Linkname paragraph containing
the name you want displayed for the link destination.Probably you would
make the Linkname paragraph conditional
so it would not appear in print. The Delete
property would exclude the paragraph (as such) from HTML output; HTML
source would show the text of the Linkname
paragraph as the value for the title=
attribute
of the <a>
tag.
You can use a similar strategy to assign a CSS class to the next link. For example, to use paragraph format LinkCSS for this purpose:
; LinkClass makes current para content into class attribute
; used to set the link display properties in CSS.
The Delete
property
would exclude the paragraph from normal HTML text output.