17.18.32 ST_FrameScrollbar

This simple type specifies the possible settings for when a scrollbar shall be visible for the contents of the current frame.

[Example: Consider a WordprocessingML document which serves as the frameset container for a frameset consisting of the following three frames:

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 must only display a scrollbar when it is needed to display all of its content. end example]

This simple type’s contents are a restriction of the W3C XML Schema string datatype.

This simple type is restricted to the values

listed in the following table:

Enumeration Value

Description

Specifies that the scrollbar for a frame shall automatically be hidden and/or displayed as needed based on the length of the contents.

Specifies that the scrollbar for a frame shall always be hidden.

Scrollbar)

Specifies that the scrollbar for a frame shall always be displayed (even when not needed).

[Note: The W3C XML Schema definition of this simple type’s content model (ST_FrameScrollbar) is located in A.1. end note]

Last updated on