[Typo3] Break menu with spacer

Martin Seebach martin at biplane.dk
Wed Dec 7 13:40:05 CET 2005


ons, 07 12 2005 kl. 12:56 +0100, skrev Peter Klein:

> [...] as I don't think it's 
> possible with typoscript alone..


Naa, I just needed a few more cups of coffee ;) .. This, a combination
TS and CSS hack, will work:

lib.topmenu = HMENU
lib.topmenu.1 = TMENU
lib.topmenu.1{
  NO.linkWrap = &nbsp;&#124; </span> | <span>
  SPC = 1
  SPC.doNotShowLink = 1
  SPC.allWrap = </span><br /><span style="visibility: hidden;">
  wrap = <span style="visibility: hidden;">|</span> 
}

It will put each | in a span, and make sure that the spans that come
after SPC and in the beginning of the whole thing are 'hidden'.

Thanks anyway!

// Martin




More information about the TYPO3-english mailing list