Linking between document files
To create a link between normal HTML files, you use an <A> tag with an HREF attribute in the file that contains the link. The HREF attribute is set to the name of the file to which you want to link (the target file). For example, to create a link on the text “road map” to a file called roadmap.htm, you would enter the following HTML text in the file where the link appears:
<a href="roadmap.htm">road map</a>
If the link is to an HTML bookmark within the file, you add the bookmark name to the HREF attribute:
<a href="roadmap.htm#appwindows">application windows</a>
To link between HTML files defined by DocBody tags, you still use an <A> tag with an HREF, but you replace the name of the target file with the following string:
"javascript:top.location.href='./PFTS.dll?pfSessionCode=!s!
&pfCommand=TrialMgr_Help&pfSiteID=!i!&pfDocDisp=!d!
&pfDocName=DOCUMENTATION_REFNAME
&pfDocBodyName=DOCBODY_REFNAME
&pfDocLink=FILE_BOOKMARKNAME&pfTimeout=1'"
In the string, replace the italicized variables with the following information:
- DOCUMENTATION_REFNAME — RefName of the document in which the file appears, as defined in a DOCUMENTATION tag; for example:
&pfDocName=AboutInform
- DOCBODY_REFNAME — RefName of the target file to which you want to link, as defined in a DOCBODY tag; for example:
&pfDocBodyName=ROADMAP
- FILE_BOOKMARKNAME — Name of the HTML bookmark within the file. Use this part of the string only when you are linking to a location within the target file. To link to the top of the target file, leave this part of the string out. An example of the &pfDocLink part of the string follows:
&pfDocLink=appwindows