[TYPO3] TMENU & GMENU
Tomasz Trznadel
tdi666 at op.pl
Mon Jun 11 08:40:33 CEST 2007
Hello,
I was wondering if its possible to make a TMENU item with a background
genereted by GMENU or GIFBUILDER.
What I need is a <dt> element with background-image made by GIFBUILDER or so
and a normal link inside. Something like this:
<dt style="background-image: url(typo3temp/menu/this_item.gif)"><a
href="index.php?id=5">gallery</a></dt>
this_item.gif can be genereted it dont need to be gallery.gif
my menu now looks like this:
## Menu mainMenu [Begin]
lib.mainMenu = COA
lib.mainMenu {
2 >
2 = HMENU
2 {
wrap = <div class="menu_space">|</div>
1 = TMENU
1 {
noBlur=1
expAll=1
wrap = <dl class="l1" id="space_menu">|</dl>
NO {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l1">|</dt>
}
IFSUB = 1
IFSUB {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l1 sub" onmouseover="p(this)"
onmouseout="u(this)">|
}
ACT=1
ACT {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l1 act">|</dt>
}
ACTIFSUB=1
ACTIFSUB {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l1 sub act" onmouseover="p(this)"
onmouseout="u(this)">|
}
}
2 = TMENU
2 {
noBlur=1
expAll=1
wrap = </dt><dd class="l2"><dl class="l2">|</dl></dd>
NO {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l2 first" onmouseover="p(this)"
onmouseout="u(this)">|</dt> |*| <dt class="l2" onmouseover="p(this)"
onmouseout="u(this)">|</dt>
}
ACT=1
ACT {
stdWrap.htmlSpecialChars = 1
wrapItemAndSub = <dt class="l2 first act" onmouseover="p(this)"
onmouseout="u(this)">|</dt> |*| <dt class="l2 act" onmouseover="p(this)"
onmouseout="u(this)">|</dt>
}
}
}
}
##Menu mainMenu [End]
Any ideas? :)
regards,
Tomasz Trznadel
www.todesign.pl
More information about the TYPO3-english
mailing list