[TYPO3] TMENU_LAYER
Bas van der Togt
b.vandertogt at profinit.com
Thu Jan 25 16:03:11 CET 2007
Cool works!
Final question:
In the wrap around the whole menu is a image which is different in every
language (overlay-o.gif). Is it possible to put an different image there
for every language? So fo German overlay-o-de.gif and for Dutch
overlay-o-nl.gif for example?
cheers,
Bas
My whole code again for so far:
10.2 = TMENU_LAYERS
10.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">|</td><td bgcolor="#FFFFFF" width="2"><img src="clear.gif"
width="2"></td><td valign="top" width="422"><img
src="fileadmin/templates/images/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>
NO {
before.cObject = COA |*| 0 |*|
before.cObject {
wrap = <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">|</td></tr></table></td></tr><tr><td bgcolor="#FFFFFF"
height="1"><img src="clear.gif" height="1"></td></tr></table>
10 = RECORDS
10 {
source.field = pid
tables = pages
conf.pages = TEXT
conf.pages {
field = title
}
}
}
ATagParams = class="menu"
linkWrap = <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>
}
}
JoH asenau schreef:
>> The allWrap below is also wrapping the cObject.
>> How can i exclude this?
>>
>> NO {
>> before.cObject = COA |*| 0 |*|
>> before.cObject {
>> wrap = <cobject wrap>|</>
>> 10 = RECORDS
>> 10 {
>> source.field = pid
>> tables = pages
>> conf.pages = TEXT
>> conf.pages {
>> field = title
>> }
>> }
>> }
>> ATagParams = class="menu"
>> allWrap = <my wrap>|</>
>> }
>
> Try linkWrap instead.
>
> Joey
>
More information about the TYPO3-english
mailing list