[TYPO3] wraping TMENUITEM linktext
Nagita Karunaratne
nagita.k at gmail.com
Tue Jul 25 22:09:33 CEST 2006
Thanks,
But I want to wrap just the text not the whole link.
For example to wrap with <xyz> </xyz> becomes:
<a href="domain.com"> <xyz> Domain </xyz> </a>
I need this because I don't think you can wrap just the '</a>' tag. Or am I
wrong?
I REALLY want to wrap this:
<a href="domain.com"> Domain <xyz> </a> </xyz>
becasue I want to put a conditional execution on that tag. But I don't think
this is possible.
Thanks,
Nagita
On 7/25/06, Christopher <bedlamhotel at gmail.com> wrote:
>
> Hi,
>
> On 7/25/06, Nagita Karunaratne <nagita.k at gmail.com> wrote:
> > Is there a TMENUITEM parameter that will wrap the actual link text only
> if
> > it has a submenu?
> >
> > I see 'stdWrap' but I haven't found how to use it correctly.
> >
> > I am trying to create the html structure for a css drop down menu.
>
> Just an ordinary nested list?
>
> lib.menuStructure = HMENU
> lib.menuStructure {
> 1 = TMENU
> 1 {
> wrap = <ul id="navigation">|</ul>
> noBlur = 1
>
> NO {
> wrapItemAndSub = <li>|</li>
> }
> }
>
> 2 < .1
> 2.wrap = <ul>|</ul>
>
> 3 < .2
>
> 4 < .2
> }
>
> Millions of examples out there these days...
>
> If this isn't what you're after, check out the IFSUB property of TMENU
> in the TSref.
>
> -Christopher
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list