-
Book Overview & Buying
-
Table Of Contents
Mastering TypoScript: TYPO3 Website, Template, and Extension Development
You got an idea of how frames are used at the beginning of this chapter. We illustrated the steps required to display a frames-based page. In the following pages we will show you how to define rows and columns and how to nest frames.
If you do not have any experience with frames in HTML, a comparison with tables may be helpful. Imagine the browser window as an empty table. To populate this table with content, it must be divided into rows and columns. Exactly the same principle is used in defining frames with TypoScript.
Frame definition works similar to that of a normal page. The PAGE object is also used for frames; the frameSet property must, however, be assigned to it. In addition, we have the FRAME and FRAMESET objects, with FRAME always being used, but FRAMESET used only rarely. When the frameSet property is defined, the corresponding PAGE object is marked as a frameset. An example is:
myframeset = PAGE
myframeset.frameSet.rows = 150,*
myframeset.frameSet {
10 = FRAME...
Change the font size
Change margin width
Change background colour