The example of a source file shown in the following figure defines two windows. The origin and size attributes specified with the heading definitions place the windows adjacent to one another on the screen.
:h1.Origin and Size Window Example :h2 res=003 x=left y=bottom width=50% height=100%. Primary Window :p. Here is the text for the primary window. This is a :link reftype=hd res=004. hypertext link :elink. to the secondary window. :h2 res=004 x=right y=bottom width=50% height=100%. Secondary Window :p. Here is the text for the secondary window. This is a :link reftype=hd res=003. hypertext link :elink. to the primary window.
The origin of the first window is the lower left-hand corner of the coverpage window. It occupies 50% of the width, but 100% of the height of the coverpage window on the left-hand side.
The origin of the second window is the lower right-hand corner of the coverpage window. It occupies 50% of the width, but 100% of the height of the coverpage window on the right-hand side.
Although these two windows occupy adjacent positions on the screen, you cannot display them both at the same time. To define separate windows, you must specify a group number in the heading definition.