[TYPO3-german] TMENU
Michael Gnessner
typo at epoche-napoleon.de
Fri Oct 27 22:03:09 CEST 2006
Und noch eine Frage, die ich noch nicht so richtig lösen kann.
<-- TYPOSCRIPT START -->
marks.MENUE = HMENU
marks.MENUE.1 = TMENU
marks.MENUE.1.NO {
stdWrap.htmlSpecialChars = 1
allWrap = <li id="mainnav"> | </li>
beforeImg = fileadmin/Sandard/pfeil1.gif
beforeROImg = fileadmin/Standard/pfeil2.gif
RO = 1
}
marks.MENUE.1.ACT = 1
marks.MENUE.1.ACT {
allWrap = <li id="mainnav"> | </li>
beforeImg = fileadmin/Standard/pfeil1.gif
}
marks.MENUE.2 = TMENU
marks.MENUE.2.wrap = <ul> | </ul>
marks.MENUE.2.NO {
allWrap = <li id="subnav"> | </li>
beforeImg = fileadmin/Sandard/pfeil1.gif
beforeROImg = fileadmin/Standard/pfeil2.gif
RO = 1
}
marks.MENUE.3 = TMENU
marks.MENUE.3.wrap = <ul> | </ul>
marks.MENUE.3.NO {
allWrap = <li id="subnav2"> | </li>
beforeImg = fileadmin/Sandard/pfeil1.gif
beforeROImg = fileadmin/Standard/pfeil2.gif
RO = 1
}
marks.MENUE.4 = TMENU
marks.MENUE.4.wrap = <ul> | </ul>
marks.MENUE.4.NO {
allWrap = <li id="subnav3"> | </li>
beforeImg = fileadmin/Sandard/pfeil1.gif
beforeROImg = fileadmin/Standard/pfeil2.gif
RO = 1
}
<-- TYPOSCRIPT ENDE -->
Leider gelingt mir irgendwie nicht, die Einrückung des Menüs entsprechend zu
beeinflussen.
Das dazugehörige CSS sieht folgendermaßen aus:
<-- CSS START -->
#menu {
position: absolute;
margin-top:5px;
margin-left:5px;
width: 15%;
}
#mainnav {
list-style: none;
list-style-position: outside;
list-style-type: none;
font-size: 0.8em;
}
#subnav {
left: 1%;
list-style: none;
list-style-position: outsite;
list-style-type: none;
font-size: 0.8em;
text-decoration:none;
font-weight:bold;
}
#subnav2 {
left: 3%;
list-style: none;
list-style-position: outsite;
list-style-type: none;
font-size: 0.8em;
text-decoration:none;
font-weight:bold;
}
#subnav3 {
left: 3%;
list-style: none;
list-style-position: outsite;
list-style-type: none;
font-size: 0.8em;
text-decoration:none;
font-weight:bold;
}
/* Beschreibung des Inhalts */
#inhalt {
position: absolute;
top: 145px;
left: 18%;
margin: 5px;
width: 70%;
height: 100%;
text-align: justify;
font-size: 1em;
font-style: normal;
}
<-- CSS ENDE -->
Der entsprechende Ansatz dürfte wohl über CSS realisiert warden.
Schöne Grüße und schon einmal vielen Dank sagt
Micha
--
Email: michael at epoche-napoleon.net
WEB: http://www.epoche-napoleon.net
More information about the TYPO3-german
mailing list