[Typo3] TMenu with different colors
Paul Sanderson
pauls at iicservices.com
Wed Feb 16 08:28:01 CET 2005
Hi Jan
This proved very useful in enabling sypathetic menu swatches matching the menu colours:
#****************************#
# Defining the DHTML Menu Layers #
#****************************#
page.includeLibs.gmenu_layers = media/scripts/tmenu_layers.php
page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
temp.menu_1 = HMENU
temp.menu_1.entryLevel = 0
temp.menu_1.1 = TMENU_LAYERS
temp.menu_1.1.
temp.menu_1.1.layerStyle = position:absolute;VISIBILITY:hidden;
# lockPosition = x
temp.menu_1.1.relativeToParentLayer=1
temp.menu_1.1.relativeToTriggerItem=1
temp.menu_1.1.topOffset=17
temp.menu_1.1.leftOffset=-12
temp.menu_1.1.setFixedHeight = 20
temp.menu_1.1.hideMenuWhenNotOver = 50
temp.menu_1.1.hideMenuTimer = 70
temp.menu_1.1.expAll=1
temp.menu_1.wrap = <table width="100%" height="20" border="0" cellspacing="0" cellpadding="0"><tr align="center">|</tr></table>
temp.menu_1.1.NO.allWrap = <td> | </td>
temp.menu_1.1.ACT = 1
pageObj.5 = HTML
[PIDinRootline = 4 ]
pageObj.5.value = <td bgcolor="#FF9933"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#FF9933">|</td>
[PIDinRootline = 9 ]
pageObj.5.value = <td bgcolor="#99CC33"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#99CC33">|</td>
[PIDinRootline = 10 ]
pageObj.5.value = <td bgcolor="#FFCC00"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#FFCC00">|</td>
[PIDinRootline = 11 ]
pageObj.5.value = <td bgcolor="#FF9933"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#FF9933">|</td>
[PIDinRootline = 12 ]
pageObj.5.value = <td bgcolor="#99CC33"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#99CC33">|</td>
[PIDinRootline = 13 ]
pageObj.5.value = <td bgcolor="#FFCC00"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#FFCC00">|</td>
[PIDinRootline = 5 ]
pageObj.5.value = <td bgcolor="#FF9933"> | </td>
temp.menu_1.1.ACT.allWrap = <td bgcolor="#FF9933">|</td>
[end]
the pageObj.5.values were used to wrap other areas of the page.
Thanks heaps
- Paul Sanderson (iibscdev)
-----------------------
This thread is located in the archive at this URL:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/thread/49769/
More information about the TYPO3-english
mailing list