June 28, 2000 - Implementing ViewLink
June 28, 2000 Implementing ViewLink Tips: June 2000
Yehuda Shiran, Ph.D.
|
There are two ways to establish a link between a primary document and a document fragment. Using JavaScript, you need to place the following statement within a script in the HTC file:
defaults.viewLink = document;
A ViewLink can also be established in HTML. The following statement will automatically link the root element of the document fragment in the HTC file to the master element in the primary document:
<PUBLIC:DEFAULTS viewLinkContent/>
or:
<PUBLIC:DEFAULTS viewLinkContnet></PUBLIC:DEFAULTS>