Hypertext element
I need to insert a URL to an external website into a document. What is the best way to configure a Hypertext element for this purpose? I can create a Marker element, but I can't quite figure out how to use it.
I need to insert a URL to an external website into a document. What is the best way to configure a Hypertext element for this purpose? I can create a Marker element, but I can't quite figure out how to use it.
Quintin,
Use the marker just as you would in an unstructured document:
1) Enter the text you want to make clickable.
2) Insert a hypertext marker in the text or next to it.
3) Apply a character format to the text and marker.
To duplicate these steps in a structured document, first define the necessary elements in your EDD:
1) Define a marker element called something like HypertextMarker. Include an InitialObjectFormat in the element definition that specifies use of Hypertext markers in all contexts.
2) Define a container called something like Hypertext (or HotText or ActiveText) . Give it a general rule such as:
HypertextMarker, <TEXT>
Follow the general rule with an AutoInsertions element containing an InsertChild element. Type the name of your marker element in the InsertChild.
Use text format rules to specify that Hypertext should be either a paragraph element if you want entire paragraphs to be active or a text range. If it's a paragraph, specify the paragraph format or paragraph properties to use. if it's a text range, specify the character format or character properties.
3) Define the contexts in which Hypertext can occur by including Hypertext in the general rules for one or more other elements.
With the above definitions, when you insert a Hypertext element, FrameMaker will prompt for the marker text. After you insert the marker, you can type the text you want.
--Lynne
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.