[TYPO3-german] Layer menue
Stefan
webmaster at 4runners.de
Thu Nov 16 10:20:46 CET 2006
Jöcker schrieb:
> hallo,
> ich suche typo-text für ein layermenue mit 2 unterebenen
>
> gruss ulli
Hallo Ulli,
ich hoffe, das hilft dir weiter:
In meinem Main-Template habe ich folgende Zeilen:
#EINBINDUNG FÜR GMENU NOTWENDIG
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
### Include php-scripts
includeLibs.c_menu = {$fileadmin_verzeichnis}/php/ipf.inc
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = {$fileadmin_verzeichnis}/templates/index.html
workOnSubpart = DOKUMENT
marks {
MENU < temp.MENU
}
}
Die Einbindug von ipf.inc bewirkt, dass Navigationspunkte, die
Unterpunkte haben, NICHT anklickbar sind. Mehr dazu findest du unter
http://www.typo3.net/index.php?id=13&action=list_post&tid=27089&page=2
Mein Navigationstemplate sieht wie folgt aus:
### Include php-scripts
includeLibs.c_menu = {$fileadmin_verzeichnis}/php/ipf.inc
temp.MENU = HMENU
temp.MENU.1 = TMENU_LAYERS
temp.MENU.1.IProcFunc = user_ipf->build
temp.MENU.1 {
#VISIBILITY:hidden;
lockPosition = y
relativeToParentLayer=1
relativeToTriggerItem=1
topOffset=0
leftOffset=140
hideMenuWhenNotOver = 70
hideMenuTimer = 70
expAll=1
wrap = <table cellspacing="0" cellpadding="0" width="100%">|</table>
NO.allWrap = <tr class="tr_root_navigation"><td
class="td_root_navigation"> | </td></tr>
IFSUB = 1
IFSUB {
isSub = 1
allWrap = <tr class="tr_root_navigation"><td
class="td_root_navigation_sub"> | </td></tr>
}
}
temp.MENU.2 = TMENU_LAYERS
temp.MENU.2.IProcFunc = user_ipf->build
temp.MENU.2 {
# VISIBILITY:hidden;
lockPosition = x
relativeToParentLayer=1
relativeToTriggerItem=1
hideMenuWhenNotOver=1
topOffset=0
leftOffset=160
expAll=1
wrap = <div id="all_nav2">|</div>
NO.allWrap = <div class="nav2"> | </div>
IFSUB = 1
IFSUB {
isSub = 1
allWrap = <div class="nav2_sub"> | </div>
}
}
temp.MENU.3 = TMENU_LAYERS
temp.MENU.3 {
#VISIBILITY:hidden;
lockPosition = x
relativeToParentLayer=1
relativeToTriggerItem=1
hideMenuWhenNotOver=1
topOffset=10
leftOffset=160
expAll=1
wrap = <div id="all_nav2">|</div>
NO.allWrap = <div class="nav2"> | </div>
#ACT = 1
#ACT.allWrap = <div class="nav2_act"> | </div>
}
Gruß
Juri
More information about the TYPO3-german
mailing list