2.3.3.17 viewLinkContent

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

Set to true to use the markup in the .htc file is used as the viewlink; or false otherwise.

Here is a simple .htc file that uses a declaration to set the viewlink in the PUBLIC:DEFAULTS element.

 <!-- "Toolbar_Button.htc" -->
 <PUBLIC:COMPONENT tagName="TOOLBAR_BUTTON">
   <PUBLIC:DEFAULTS viewLinkContent="true"/>
 </PUBLIC:COMPONENT>
  
 <BODY>
 Someday this will be a toolbar button.
 </BODY>

Setting this attribute in the PUBLIC:DEFAULTS element causes the current HTC markup to be saved as a document fragment in the HTCElementBehaviorDefaults::viewLink property.

The viewLinkContent attribute is declared in markup only by the PUBLIC:DEFAULTS element.

See also viewInheritStyle and viewMasterTab.

Show: