[TYPO3] TMENU_LAYERS

Bas van der Togt b.vandertogt at profinit.com
Sun May 13 16:04:03 CEST 2007


Hello list,

I build a TMENU_LAYERS menu but i have one problem.
The submenu is not showing on the right place.
It's now placed relative to the browser window.
Does anybody know how to solve this?
I think my TS is right, but my CSS not.
Any help would be great!

cheers,
Bas

EXAMPLE URL: http://87.249.105.43/~algebr02/index.php?id=15

MY TS:

# Menu
temp.MenuTop = HMENU
temp.MenuTop.special = list
temp.MenuTop.special.value = 7,6,5,4,3,2
temp.MenuTop.1.wrap = <ul id="menu">|</ul>
temp.MenuTop.1 = TMENU_LAYERS
temp.MenuTop.1 {
   expAll = 1
   topOffset = 30
   relativeToTriggerItem = 1
   hideMenuWhenNotOver = 1
   hideMenuTimer = 750
   displayActiveOnLoad = 1
   freezeMouseover = 1

   NO {
     allWrap = <li class="menu-no">|</li>
   }

   ACT = 1
   ACT {
     allWrap = <li class="menu-act">|</li>
   }
}

# Submenu
temp.MenuTop.2 = TMENU
temp.MenuTop.2.expAll = 1
temp.MenuTop.2.wrap = <div id="submenu">|</div>
temp.MenuTop.2 {
   NO {
     allWrap = <div class="submenu-no">|</div>
     beforeImg = fileadmin/templates/images/submenu-dot-no.gif
     beforeImgTagParams = class="submenu-dot"

   ACT = 1
   ACT {
     allWrap = <div class="submenu-act">|</div>
     beforeImg = fileadmin/templates/images/submenu-dot-act.gif
     beforeImgTagParams = class="submenu-dot"
   }
}


More information about the TYPO3-english mailing list