[TYPO3-english] Subject: changing wrap for first and last menu items
david at skytracker.ca
Thu May 14 18:52:53 CEST 2009
I'm sorry the thread didn't connect so the question seems garbled.
I was looking to change the class for the first and last menu items.
As I understand it, that can be accomplished using something like;
wrap = <ul id="yacbddm" class="firstLevel"> | </ul> // this is outer UL within which li's will appear
NO.allWrap = <li class="first"> | </li> |*| <li class="normal"> | </li> |*| <li class="last"> | </li> // this is parttdioning li's into three parts first, last and all in-between as norma
But then I wanted to also allow for a different class for IFSUB.
then -within- IFSUB I would like a differing class whether it is
the first item, middle item or last item on the menu.
Another way to say it would be like this (using six classes);
First menu item - (if NO then class1, if IFSUB then class2)
Middle menu item - ( if NO then class3, if IFSUB then class4)
Last menu item - (if NO then class5, if IFSUB then class6)
Like I say, I may be asking too much.
On Thu, May 14, 2009 at 06:29:08PM +0200, David Bruchmann wrote:
> ----- Urspr??ngliche Nachricht -----
> Von: David Banning <david at skytracker.ca>
> Gesendet: Donnerstag, 14. Mai 2009 18:14:33
> An: Farooq <farooqaassi at gmail.com>,
> typo3-english at lists.netfielders.de
> Betreff: Re: [TYPO3-english] Subject: changing wrap for first and
> last menu items
> > Now here is where I may be asking too much. If the first item on the
> > menu is a IFSUB then is it possible to also have that as a variation?
> what do you mean or what do you need exactly?
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
More information about the TYPO3-english