[TYPO3-UG Dutch] submenu
Joost Vollebregt
info at jvwebsites.nl
Thu Mar 8 15:19:42 CET 2007
Beste Info,
Ik heb het vorige keer zo opgelost:
# Menu 1 cObject
temp.menu_1 = HMENU
# First level menu-object, textual
temp.menu_1.1 = TMENU
#temp.menu_1.1.expAll = 1
temp.menu_1.1 {
wrap=<table cellpadding="0" cellspacing="0" border="0"
height=32><Tr>|</tr></table>
NO.linkWrap = <td width=1 bgcolor="#FFFFFF"></td><td
background="fileadmin/template/images/menu_bg.gif" valign="top"> <font
class='menuitem'>|</font> </td>
NO.case=upper
ACT=1
ACT.linkWrap = <td width=1 bgcolor="#FFFFFF"></td><td
background="fileadmin/template/images/menu_bg_activ.gif"
valign="top"> <font class='menuitem_activ'>|</font> </td>
}
# Second level menu-object, textual
temp.menu_2 = HMENU
temp.menu_2.entryLevel = 1
temp.menu_2.1 = TMENU
temp.menu_2.1{
wrap= <table cellpadding="0" cellspacing="0" border="0" width=170 ><tr
bgcolor=#5B5B5C><td colspan=2 height=12></td></tr>|<tr><td colspan=2
background="fileadmin/template/images/menu_onderkant.gif"
height=40></td></tr></table>
NO.linkWrap = <Tr bgcolor=#5B5B5C><td width=8></td><td><font
class='menuitem_2'>› |</font></td></tr>
}
Met vriendelijke groet,
Joost Vollebregt
-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.netfielders.de
[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Info
Verzonden: donderdag 8 maart 2007 16:03
Aan: typo3-ug-dutch at lists.netfielders.de
Onderwerp: [TYPO3-UG Dutch] submenu
Hallo allemaal,
Hoe is het mogelijk om het submenu (dus de 2e menulaag) in een apart
gedeelte weer te geven. Ik zie de hoofditems keurig netjes verschijnen.
Typoscript:
temp.menu_hoofd = HMENU
temp.menu_hoofd.1 = TMENU
temp.menu_hoofd.1 {
NO.allWrap = <div class="menu1-level1-no"> | </div>
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
temp.menu_sub = HMENU
temp.menu_sub.2 = TMENU
temp.menu_sub.2 {
NO.allWrap = <div class="menu1-level1-no"> | </div>
ACT = 1
ACT.allWrap = <div class="menu1-level1-act"> | </div>
}
subparts.menu_hoofd < temp.menu_hoofd
subparts.menu_sub < temp.menu_sub
Template
<div class="menu_hoofd">
<div class="menu1-level1-no"><a
href="link">Home</a></div>
<div class="menu1-level1-act"><a href="link">De
organisatie</a></div>
<div class="menu1-level1-no"><a href="link">Missie
en visie</a></div>
<div class="menu1-level1-no"><a href="link">Onze
scholen</a></div>
<div class="menu1-level1-no"><a href="link">Laatste
nieuws</a></div>
<div class="menu1-level1-no"><a
href="link">Agenda</a></div>
<div class="menu1-level1-no"><a
href="link">Cursussen</a></div>
<div class="menu1-level1-no"><a href="link">Handboek</a></div>
<div class="menu1-level1-no"><a
href="link">Vacatures</a></div>
<div class="menu1-level1-no"><a
href="link">Links</a></div>
<div class="menu1-level1-no"><a
href="link">Foto's</a></div>
</div>
<div class="menu_intra">
<a href="link" class="intranet">Intranet</a>
<a href="link" class="intranet_text">(eigen
toegang)</a>
</div>
<div class="menu_sub">
<div class="menu2-level2-no"><a href="link">Submenu
1</a></div>
<div class="menu2-level2-act"><a href="link">Submenu
1</a></div>
<div class="menu2-level2-no"><a href="link">Submenu
1</a></div>
<div class="menu2-level2-no"><a href="link">Submenu
1</a></div>
<div class="menu2-level2-no"><a href="link">Submenu
1</a></div>
<div class="menu2-level2-no"><a href="link">Submenu
1</a></div>
<a href="link" class="print">Print</a>
</div>
________________________________________________
Message sent using UebiMiau 2.7.10
_______________________________________________
TYPO3-UG-dutch mailing list
TYPO3-UG-dutch at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch
More information about the TYPO3-UG-dutch
mailing list