---
title: "Framset als Inhalt"
url: "https://www.typo3.net/d/22991-framset-als-inhalt"
source: "typo3.net"
tags: ["TYPO3","Template","Frage"]
created: "2005-03-29"
last_reply: "2005-03-29"
replies: 1
solved: false
page: 1
pages: 1
lang: "de"
---

# Framset als Inhalt

TYPO3 › Template · 1 Antwort · gestartet 2005-03-29

## Eröffnungsbeitrag

**Bishop** · 2005-03-29 · [Beitrag #1](https://www.typo3.net/d/22991-framset-als-inhalt/1)

Hallo zusammen,

ich bin gerade dabei mich mit Frames zu beschäftigen  :)
Klappt soweit auch alles, nur hab ich jetzt folgendes Problem.

Ich habe einen Content Bereich. Diese enthält ein horizontales Menü und den eigentlichen Content.
Der Content soll scrollbar sein nicht aber das Menü.

Das ganze soll ungefähr so aussehen

```plaintext
+-----------------------------------------+
|          HEADER                         |
+-----------------------------------------+
| M  |  horiz. Menü                       |
| e  |------------------------------------|
| n  |                                    |
| ü  |              Content               |
|    |                                    |
|    |                                    |
|    |                                    |
|    |------------------------------------|
```

Das Frameset ansich ist ja kein Problem aber wie defniere ich dieses "inner frameset" für das horz. Menü und den Content?
Könnte mir da jemand einen kleinen Denkanstoß geben?  :D

Bitte keine Diskussion anfangen "Warum Frames nimm CSS!" usw. Das man das mit CSS machen kann ist mir auch klar, aber ich hab mir vorgenommen das mit Frames zu realisieren  :D

Danke

Gruß
Bishop

## Antworten

### [#2](https://www.typo3.net/d/22991-framset-als-inhalt/2) · Bishop · 2005-03-29

Problem behoben  :D
Mit dem folgenden Code gehts

```typoscript
#*****************************
# Definition of the PAGE objects
#*****************************
outer_frameset = PAGE
frmTop = PAGE
frmMenu = PAGE
frmTopMenu = PAGE
frmContent = PAGE

outer_frameset.typeNum = 0
frmTop.typeNum = 1
frmMenu.typeNum = 2
frmTopMenu.typeNum = 3
frmContent.typeNum = 4

#*****************************
# Definition of the frame objects
#*****************************
frmTop.10 = TEXT
frmTop.10.value = Top

frmMenu.10 = TEXT
frmMenu.10.value = Menu

frmContent.10 = TEXT
frmContent.10.value = Content

frmTopMenu.10 = TEXT
frmTopMenu.10.value = Top Menu

#outer_frameset = PAGE
#outer_frameset.typeNum = 0

#*****************************
# Definition of the outer_frameset
#*****************************
outer_frameset.frameSet.rows = 115,*
outer_frameset.frameSet.params = border="1" framespacing="0" frameborder="YES" cols="*"
outer_frameset.frameSet {
  1 = FRAME
  1.obj = frmTop
  1.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"

  2 = FRAMESET
  2.cols = 200,*
  2.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"
  2 {
       1 = FRAME
       1.obj = frmMenu
       1.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"
      
      2 = FRAMESET
      2.rows = 25, *
      2.params =  border="1" framespacing="0" frameborder="YES"
      2 {
          1 = FRAME
          1.obj = frmTopMenu
          1.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"

          2 = FRAME
          2.obj = frmContent
          2.params = scrolling="NO" noresize frameborder="YES" marginwidth="0" marginheight="0"
      }
     }
}
```

---

Quelle: „Framset als Inhalt“, typo3.net, https://www.typo3.net/d/22991-framset-als-inhalt
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
