Compartilhar via


viewMasterTab Attribute | viewMasterTab Property

Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.

Syntax

[ bInherit = ] object.viewMasterTab [ = v ]

Possible Values

bInherit Boolean that specifies or receives one of the following values.
true
Default. Tabbing from an element in the primary document to a viewlink sets focus to the master element.
false
Tabbing from an element in the primary document to a viewlink sets focus to the next tab stop, bypassing the master element.

The property is read/write. The property has a default value of true.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see About Dynamic Properties.

Remarks

Tabbing order goes from every tab stop within the viewlink to every tab stop in the primary document, based on sequence and tabIndex value. By default, the master element participates in the tab sequence of the primary document, even if there are no tab stops defined within the viewlink.

When using a viewlink, the body element inside the viewlink is not tabbable by default; the author must set the tabIndex property if the behavior is designed to display a focus rectangle on the linked document. Setting the tabIndex property on the body of the document fragment causes the onfocus and onactivate events to fire when the viewlink document body receives focus.

Standards Information

There is no public standard that applies to this property.

Applies To

defaults, HTCElementBehaviorDefaults Constructor

See Also

viewLink, Introduction to Viewlink, About Element Behaviors