[Typo3-UG UK] How to setup 3. level in menu?
Anne-Marie Fagerlund Krogh
amk at gagarin.dk
Mon Dec 1 13:57:53 CET 2003
Hi there :o)
I have this menu that works fine, but then we realized that we needed a 3.
level on the menu.
so it should look like this:
level1
level 2 -> level3
- however the position of the 3. level is wrong. The 3. level should fall
out on the right side of the menu item that contains sub-pages. But it is
positioned in the right upper corner.
So my question: how and where do I control the 3. level position?
Sincerely
Anne-Marie
My entire menu-setup in the setupfield:
## submenu position ##
temp.popupMenu = HMENU
temp.popupMenu.1 = GMENU_LAYERS
temp.popupMenu.1 {
hideMenuTimer = 100
xPosOffset = {$xPosOffset}
leftOffset = 0
target = _top
lockPosition = x
expAll = 1
relativeToTriggerItem = 1
topOffset = 29
hideMenuWhenNotOver = 15
}
## main menu cell ##
temp.popupMenu.1.wrap = <table cellspacing=0 cellpadding=0 border=0
bordercolor=white valign=middle><tr>|</tr></table>
temp.popupMenu.1.NO {
wrap = <td>|</td>
backColor = {$transpColor}
transparentColor = {$transpColor}
XY = 127, 30
10 = TEXT
10.text.field = nav_title // title
10.offset = 10,19
10.fontSize = 13
10.fontColor = white
10.niceText = 1
#10.fontFile = verdana.ttf
RO=1
# RO_chBgColor = #FFFFFF | #FFFFFF | tmenuID
subst_elementUid = 1
}
##submenu celler##
temp.popupMenu = HMENU
temp.popupMenu.2 = GMENU_LAYERS
temp.popupMenu.2 {
hideMenuTimer = 100
xPosOffset = {$xPosOffset}
leftOffset = 0
target = _top
lockPosition = x
expAll = 1
relativeToTriggerItem = 1
topOffset = 29
hideMenuWhenNotOver = 15
}
temp.popupMenu.2.useLargestItemX = 1
temp.popupMenu.2.wrap = <table cellspacing=0 cellpadding=0 border=0
bordercolor=white><tr>|</tr></table>
temp.popupMenu.2.NO {
wrap = <tr><td cellspacing="0" cellpadding="0" class=
tdundermenu>|</td></tr>
backColor =
XY = 127, 30
10 = TEXT
10.text.field = nav_title // title
10.offset = 10,19
}
##rollover submenu celler ##
temp.popupMenu.2.RO < temp.popupMenu.2.NO
temp.popupMenu.2.RO = 1
temp.popupMenu.2.RO {
backColor = {$transpColor}
10.fontColor = white
}
##active submenu celler ##
temp.popupMenu.2.ACT < temp.popupMenu.2.RO
temp.popupMenu.2.ACT = 1
temp.popupMenu.2.ACT {
20 = IMAGE
20.file = sort_krekant2.gif
20.offset = 120,22
}
## sub menu cells 3. level - the new part start ##
temp.popupMenu = HMENU
temp.popupMenu.3 = GMENU
temp.popupMenu.3 {
hideMenuTimer = 100
xPosOffset = 100
leftOffset = 127
target = _top
lockPosition = x
expAll = 1
relativeToTriggerItem = 1
topOffset = 29
hideMenuWhenNotOver = 15
relativeToParentLayer = 1
}
temp.popupMenu.3.useLargestItemX = 1
temp.popupMenu.3.wrap = <table cellspacing=0 cellpadding=0 border=0
bordercolor=white><tr>|</tr></table>
temp.popupMenu.3.NO {
wrap = <tr><td cellspacing="0" cellpadding="0" class=
tdundermenu>|</td></tr>
backColor =
XY = 127, 30
10 = TEXT
10.text.field = nav_title // title
10.offset = 10,19
}
##rollover submenu cells ##
temp.popupMenu.3.RO < temp.popupMenu.3.NO
temp.popupMenu.3.RO = 1
temp.popupMenu.3.RO {
backColor = {$transpColor}
10.fontColor = white
}
##active submenu cells ##
temp.popupMenu.3.ACT < temp.popupMenu.3.RO
temp.popupMenu.3.ACT = 1
temp.popupMenu.3.ACT {
20 = IMAGE
20.file = sort_krekant2.gif
20.offset = 120,22
}
##sub menu cells 3. level - the new part end##
## TMENU_LAYERS##
includeLibs.tmenu_layers = media/scripts/gmenu_layers.php
More information about the TYPO3-uk
mailing list