[Typo3] Odd and even items in HMENU

Dmitrii Dimandt dmitriid at gmail.com
Tue Oct 4 15:28:41 CEST 2005


On 10/4/05, JoH <info at cybercraft.de> wrote:
> >> In your case the challenge is just having different classes for the
> >> items so the solution is a simple optionSplit.
> >>
> >> allWrap = |*| <li class="odd">|</li> || <li class="even">|</li> |*|
> >>
> >> The rest can be done with simple CSS positioning and/or alignments.
> >>
> >
> > Well, not really. If I have
> >
> > [left menu] [body content] [right menu]
> >
> > then no CSS will be able to help me :(  Anyway, the if example is
> > still useful, I guess (haven't gotten around testing it though)
>
> Well - but then your initial question was not precise enough.
> In fact you need two completely different HMENUs.
> One listing odd items only, the other one listing even items only.
> In this case you should go for the if-example.
>
> Joey

True, I was imprecise. The solution was found, however and it is
perfect. Thank yo all.



More information about the TYPO3-english mailing list