R. van Twisk schrieb: > Trevor McCartney wrote: >> Hello Typo3 Folks! >> >> <snip> >> >> Basically two of my menu's are horizontal menu bars, I've set up each >> menu as an unordered list and each menu item is a list item. The >> problem is that I have borders separating each menu item, but I can't >> have a left border on the first item or a right border on the last >> item. So I've set up two special classes, firstItem and lastItem, to >> remove the appropriate borders. So as far as integration with Typo3 >> goes, will I be able to set up conditions to determine if a menu item >> is the first/last and then apply the custom class in that case? I also >> have the selected class for when that menu item should be selected, so >> in that case I would need to be able to determine if the selected item >> is the first or last, then it would get a double class ie: >> class="firstItem selected". Is this all doable? >> > You need optionSplit.... > it allows you to setup different classes for first, middles and last > items.... > > see: > http://typo3.org/documentation/document-library/core-documentation/doc_core_tsbyex/0.0.16/view/7/4/ > > > > >> Am I making any sense? I know it would be a whole lot easier if all my >> menu items were exactly the same, but that will mean going back to the >> designer. >> >> Thanks in advance for any help you can offer! >> >> T. >> > >
something like this -> wrap = <li class="FirstElement"> | </li> |*| <li class="middle"> | </li>|*| <li class="LastElement"> _______________________________________________ TYPO3-english mailing list [email protected] http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
