Typo3 also supports the use of DHTML menus on layers. But it requires the HMENU to consist of two menu objects where the first is GMENU_LAYER. The second can be either a TMENU or GMENU
Example:
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
page.10 = HMENU
page.10.1 = GMENU_LAYERS
page.10.1 {layerStyle = position:absolute;left:0px;top:30px;width:10px;VISIBILITY:hidden;
xPosOffset =-10
lockPosition = x
expAll=1
NO {backColor = #cccccc
XY = [10.w]+10, 14
10 = TEXT
10.text.field = title
10.offset = 5,10
}
}
page.10.2 = GMENU
page.10.2.wrap = |<BR>
page.10.2.NO {backColor = #99cccc
XY = 120, 14
10 = TEXT
10.text.field = title
10.offset = 5,10
}
Result:
Challenge (GMENU_LAYERS/1)
Can you modify this menu to a layout like this:
(All modifications are done to menu object 2, the GMENU)
Challenge (GMENU_LAYERS/2)
Can you modify this menu to a layout almost like this (at least the orientation of the menu):
(All modifications are done to menu object 1, the GMENU_LAYER)