Omni Systems, Inc. |  | Mif2Go User's Guide, Version 55 |  |  |  |  |

> 29 Working with FrameMaker markers > 29.7 Inserting code or text with markers > 29.7.4 Surrounding attribute markers with code

### 29.7.4 Surrounding attribute markers with code

You can specify [MarkerTypeCodeBefore] and [MarkerTypeCodeAfter] for attribute markers such as LinkTitle. However, for attribute markers you do not assign the Code property to the attribute marker type in [MarkerTypes], because that would insert marker code on the spot instead of in an attribute marker.

For example, you could use the same content for the link title and LinkonMouseOver attributes, and provide wrapper code for the latter, with just a single LinkTitle marker in FrameMaker:

[Markers]

LinkTitle=LinkTitle LinkonMouseOver

[MarkerTypeCodeBefore]

LinkonMouseOver=window.status='

[MarkerTypeCodeAfter]

LinkonMouseOver='; return true;

> 29 Working with FrameMaker markers > 29.7 Inserting code or text with markers > 29.7.4 Surrounding attribute markers with code

| Mif2Go User's Guide: 29.7.3 Processing marker content as text for XML/HTML/XHTML |  | Mif2Go User's Guide: 29.7.5 Converting custom markers to attributes |