390
LESSON 15
HTML and Web Publishing
Including return links to the main page
When you divide a document into several Web pages, FrameMaker 7.0 automatically
creates a linked "table of contents" so that your readers can navigate to the other pages in
the series. But to return to the main contents page, a reader must click the Back button in
the browser window. You can provide a more elegant way to get back to the main
document by having FrameMaker 7.0 insert a hypertext return link at the end of each
subdocument. To provide the return links, you need to edit the System Macros table on
the HTML reference page.
1 Scroll to the System Macros table on the HTML reference page.
HTML Mapping Table§
FrameMaker Source Item§
P:TableTitle§
C:Emphasis§
C:Link§
X:Heading & Page§
X:Page§
X:See Heading & Page§
X:Table All§
X:Table Number & Pag§
HTML Options Table§
Contro§l
Image Format§
Copy Files Imported by Reference§
System Macros§
Macro Name§
StartOfDoc§
EndOfDoc§
StartOfSubDoc§
EndOfSubDoc§
StartOfFirstSubDoc§
EndOfFirstSubDoc§
StartOfLastSubDoc§
EndOfLastSubDoc§
2 In the Replace With column of the EndOfSubDoc row, enter the following HTML code
to add a link to the subpages, but not to the main page or the last page in the series:
<P><A HREF="<$parentdoc>"> Return to main page </A></P>
Note: Don't be concerned about how this HTML code wraps or hyphenates in the table cell.
FrameMaker 7.0 will read the code as if it were one unbroken line.
Here is an analysis of the parts of this code:
<P> ... </P>
HTML Item§
Include
Auto#§
Elemen§
New Web
Page?§
LI¶
N§
N§
Parent = OL¶
Depth = 0§
EM§
N§
N§
EM§
N§
N§
N§
See Also§
N§
N§
See Also§
N§
N§
See Also§
N§
N§
See Also§
N§
N§
See Also§
N§
Value§
0001IMAGJPEGMACP0001JPEG§
N§
Replace With§
Head§
§
<TITLE> <$defaulttitle></TITLE>§
§
§
§
<TITLE> <$defaulttitle></TITLE>§
§
§
§
<TITLE> <$defaulttitle></TITLE>§
§
§
§
<TITLE> <$defaulttitle></TITLE>§
§
§
<A> ... </A>
HREF="<$parentdoc>"
Comments§
§
§
§
§
§
§
§
§
Comments§
§
§
Comments§
§
§
§
§
§
§
§
§
Return to main page
Need help?
Do you have a question about the FRAMEMAKER 7 and is the answer not in the manual?
Questions and answers