[TYPO3] wraping TMENUITEM linktext

Christopher bedlamhotel at gmail.com
Tue Jul 25 22:33:36 CEST 2006


Hello again,

On 7/25/06, Nagita Karunaratne <nagita.k at gmail.com> wrote:
> Here is an example of the structure I want to create.
>
> If the first level link has a submenu the </a> tag is replaced by <!--[if IE
> 7]><!--></a><!--<![endif]-->
>

<snipped code>

That's some extremely nasty code. Rather than futz around with
deliberately creating invalid markup, why not use one of the
suckerfish [1] or whatever:hover [2] solutions? As far as I can tell,
they'd solve your problem very simply.

...and there's no need whatsoever for that table, whatever solution
you're using ;-)

-Christopher

[1] http://www.htmldog.com/articles/suckerfish/dropdowns/
[2] http://www.xs4all.nl/~peterned/csshover.html,
http://www.xs4all.nl/~peterned/examples/cssmenu.html



More information about the TYPO3-english mailing list