<scrollbar>
(Scrollbar Display Option)
This element specifies when a scrollbar shall be visible for the contents of the current frame. When this element is set, the @val
attribute determines exactly when the scrollbar shall be visible. This property is analogous to the scrolling
attribute on the frame
element in HTML.
If this element is omitted, the scrollbar shall only be displayed when the contents of the frame exceed the visible space for the frame (i.e. when the scrollbar is needed to display all of the content).
The frameset properties for this document are specified by the following WordprocessingML within the web page settings:
<w:frameset> … <w:frameset> … <w:frame> <w:name w:val="Frame 2" /> <w:scrollbar w:val="auto" /> </w:frame> … </w:frameset> </w:frameset>
The <scrollbar>
element has a @val
attribute of auto
, which specifies that the frame shall only display a scrollbar when it is needed to display all of its content. ]
Parent Elements |
---|
|
Attributes |
Description |
---|---|
|
Specifies the criteria under which a scrollbar shall be displayed along with the contents of this frameset, as defined by the simple type referenced below. <w:frame> <w:scrollbar w:val="on" /> … </w:frame> The The possible values for this attribute are defined by the ST_FrameScrollbar simple type (§2.18.36). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_FrameScrollbar">
<attribute name="val" type="ST_FrameScrollbar" use="required"/>
</complexType>