Hi, I want to create a menu with a "complex" picture after the active item. But I want to remove this when the subitem is selected
Here is the code: #the left menu # Menu cObject temp.menu = HMENU temp.menu.entryLevel = 1 temp.menu.wrap = | <br /> # First level menu-object, textual temp.menu.1 = TMENU temp.menu.1 { # Normal state properties NO.allWrap = <div id="idlevel1no" class="menu-left-level1-no"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="menu-left-level1-no-link" > | </td><td class="menu-left-level1-no-picture"><img src="fileadmin/template/images/no-link.gif" /></td></tr></table></div> NO.RO = 1 # Enable active state and set properties: ACT = 1 [treeLevel = 1] ACT.allWrap = <div class="menu-left-level1-no"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="menu-left-level1-no-link" > | </td><td class="menu-left-level1-no-picture"><img src="fileadmin/template/images/no-link.gif" /></td></tr></table></div> [else] ACT.allWrap = <div class="menu-left-level1-act"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td rowspan="3" class="menu-left-level1-act-link"> | </td><td class="menu-left-level1-act-big01"><img src="fileadmin/template/images/big_01.gif" width="15" height="7"/></td> </tr><tr><td class="menu-left-level1-act-big02"><img src="fileadmin/template/images/big_02.gif" /></td></tr><tr><td class="menu-left-level1-act-big03"><img src="fileadmin/template/images/big_03.gif" width="15" height="7"/></td></tr></table></div> [global] } # Second level menu-object, textual temp.menu.2 = TMENU temp.menu.2 { # Normal state properties NO.allWrap = <div class="menu-left-level2-no"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td class="menu-left-level2-no-link"> | </td><td class="menu-left-level2-no-picture"><img src="fileadmin/template/images/no-link.gif" /></td></tr></table></div> # Enable active state and set properties: ACT = 1 ACT.allWrap = <div class="menu-left-level2-act"><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td rowspan="3" class="menu-left-level2-act-link"> | </td><td class="menu-left-level2-act-small01"><img src="fileadmin/template/images/small_01.gif" width="15" height="6"/></td></tr><tr><td class="menu-left-level2-act-small02"><img src="fileadmin/template/images/small_02.gif" /></td></tr><tr><td class="menu-left-level2-act-small03"><img src="fileadmin/template/images/small_03.gif" width="15" height="6"/></td></tr></table></div> wrap = <div class="menu-left-level2"> | </div> } But the test for TREELEVEL doesn't work insite a TMENU item. [treeLevel = 1] [else] [global] Can someone help me with a solution? Best regards, Livius _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english