[TYPO3] How to wrap only the url -> SOLVED
Søren Vedel
sv at workhouse.dk
Tue Dec 19 20:18:37 CET 2006
Thanks to Dmitry and Christopher :-)
Actually I'm inspired by Reuven Cohen who made a similar menu. Maybe not
beautiful and it surely won't validate, but it does the job ;-)
lib.sitemap = COA
lib.sitemap {
10 = HMENU
10.entryLevel = 0
10 {
wrap = <div id="sitemap"><table cellpadding="0" cellspacing="0"
border="0" width="95%"> | </table><div>
1 = TMENU
1 {
noblur = 1
expAll=1
NO {
expAll = 0
doNotLinkIt = 1
before.data = field:uid
before.wrap = <tr bgcolor="white"
onmouseover="this.style.backgroundColor='#c8c8c8'"
onmouseout="this.style.backgroundColor='white'"
onmousedown="window.location='index.php?id=|'"
stdWrap.field = title
stdWrap.wrap = =|><td class="sitemap-level-1">
after.data = field:title
after.wrap = |<td class="sitemap-level-1-col-2">>></td>
allWrap = |
}
}
2 = TMENU
2 {
noblur = 1
expAll=1
NO {
expAll = 0
doNotLinkIt = 1
before.data = field:uid
before.wrap = <tr
onmouseover="this.style.backgroundColor='#c8c8c8'"
onmouseout="this.style.backgroundColor='#e6e6e6'" bgcolor="#e6e6e6"
onmousedown="window.location = 'index.php?id=|'"
stdWrap.field = title
stdWrap.wrap = =|><td class="sitemap-level-2">
after.data = field:title
after.wrap = |<td class="sitemap-level-2-col-2">>></td>
allWrap = |
}
}
}
}
Med venlig hilsen/Kind regards
Søren Vedel
Workhouse Media
More information about the TYPO3-english
mailing list