[TYPO3] TMENU_LAYER problem

Bas van der Togt b.vandertogt at profinit.com
Wed Aug 30 11:06:18 CEST 2006


Hello list,

I build a nice TMENU_LAYER menu on http://www.geodan.com
But the menu layer disapears when you move your mouse from the layer to 
the tab above. There's a border arround the whole layer which is the 
problem. Can somebody have a look at it and tell me how to solve this?

This is my setup of one of the tab menu's:
# Menu Top A - Organisation tab
temp.MenuTopA = HMENU
temp.MenuTopA.special = list
temp.MenuTopA.special.value = 66
temp.MenuTopA.1 = GMENU_LAYERS
temp.MenuTopA.1 {
   expAll = 1
   relativeToTriggerItem = 1
   leftOffset = -190
   topOffset = 31
   hideMenuWhenNotOver = 1
   hideMenuTimer = 1
   freezeMouseover = 1
   NO {
     wrap = <td height="31">|</td>
     imgParams = onMouseOver="ShowHide('menubar','hidden')" 
onMouseOut="ShowHide('menubar','visible')"
     XY = 116,31
     5 = IMAGE
     5.file = fileadmin/templates/images/organisatie-en.gif
     5.width = 116
     5.height = 31
     }
}
temp.MenuTopA.1.ACT = 1
temp.MenuTopA.1.ACT {
   wrap = <td height="31">|</td>
   imgParams = onMouseOver="ShowHide('menubar','hidden')" 
onMouseOut="ShowHide('menubar','visible')"
   XY = 116,31
   5 = IMAGE
   5.file = fileadmin/templates/images/organisatie-en-o.gif
   5.width = 116
   5.height = 31
}
temp.MenuTopA.1.RO = 1
temp.MenuTopA.1.RO {
   wrap = <td width="116" height="31">|</td>
   imgParams = onMouseOver="ShowHide('menubar','hidden')" 
onMouseOut="ShowHide('menubar','visible')"
   XY = 116,31
   5 = IMAGE
   5.file = fileadmin/templates/images/organisatie-en-o.gif
   5.width = 116
   5.height = 31
}

temp.MenuTopA.2 = TMENU_LAYERS
temp.MenuTopA.2.wrap = <div onmouseover="ShowHide('menubar','hidden')" 
onMouseOut="ShowHideFF('menubar','visible')" 
onMouseLeave="ShowHide('menubar','visible')"><table width="772" 
border="0" cellspacing="0" cellpadding="0"><tr><td id="line" colspan="5" 
width="772" height="7" bgcolor="#BED600"></td></tr><tr><td colspan="5" 
width="772" height="2" bgcolor="#FFFFFF"><img src="clear.gif" 
width="772" height="2"></td></tr><tr><td valign="top" width="183"><table 
border="0" cellspacing="0" cellpadding="0"><tr><td width="183" 
height="21" bgcolor="#BED600" class="menu-act"><table border="0" 
cellspacing="0" cellpadding="3"><tr><td></td><td 
class="menu-act">Organisation</td></tr></table></td></tr><tr><td 
bgcolor="#FFFFFF" height="1"><img src="clear.gif" 
height="1"></td></tr></table>|</td><td bgcolor="#FFFFFF" width="2"><img 
src="clear.gif" width="2"></td><td valign="top" width="422"><img 
src="fileadmin/templates/images/uk-overlay-o.gif" width="422" 
height="148"></td><td bgcolor="#FFFFFF" width="2"><img src="clear.gif" 
width="2"></td><td valign="top" width="163"><img 
src="fileadmin/templates/images/right-organisatie.jpg" width="163" 
height="146"></td></tr></table></div>
temp.MenuTopA.2.NO {
   ATagParams = class="menu"
   allWrap = <table border="0" cellspacing="0" cellpadding="0"><tr><td 
colspan="2" width="183" height="21" bgcolor="#B8B8B8"><table border="0" 
cellspacing="0" 
cellpadding="3"><tr><td></td><td>|</td></tr></table></td></tr><tr><td 
bgcolor="#FFFFFF" height="1"><img src="clear.gif" height="1" 
width="180"></td></tr></table>
}

temp.MenuTopA.2.IFSUB = 1
temp.MenuTopA.2.IFSUB {
   ATagParams = class="menu"
   allWrap = <table border="0" cellspacing="0" cellpadding="0"><tr><td 
colspan="2" width="183" height="21" bgcolor="#B8B8B8"><table 
width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td><table 
border="0" cellspacing="0" 
cellpadding="3"><tr><td></td><td>|</td></tr></table></td><td 
align="right"><img 
src="fileadmin/templates/images/arrow.gif"></td></tr></table></td></tr><tr><td 
bgcolor="#FFFFFF" height="1"><img src="clear.gif" 
height="1"></td></tr></table>
}

Your help would be great!

cheers,
Bas



More information about the TYPO3-english mailing list