[TYPO3] Css drop down menu problem
Gideon So
gideonso at livingwater.org.hk
Wed Jun 13 16:35:14 CEST 2007
Hi Oliver,
Thanks for your help but the scripts seems not work. Please take a look
here: http://www.livingwater.org.hk.
Gideon
Oliver Rowlands ??:
> Hi Loek,
>
> Gideon's HTML code is correct and validates, this 'conditional comment'
> technique is used to bypass IE's appalling handling of the :hover CSS
> selector. Have a look at the main navigation on the following site for
> an example:
>
> http://www.spannerworks.com
>
> As far as I can remember it works in IE5.5+, Firefox, Opera, Safari &
> Konqueror without needing any JS.
>
> Gideon, try the following TypoScript:
>
> lib.mainmenu = HMENU
> lib.mainmenu {
> entryLevel = 0
> 1 = TMENU
> 1 {
> wrap = <ul> | </ul>
> noBlur = 1
> expAll = 1
> NO {
> ATagTitle.field = title
> stdWrap.htmlSpecialChars = 1
> ATagBeforeWrap = 1
> linkWrap = | <!--[if IE 7]><!-->
> afterWrap = | <!--<![endif]--><!--[if lte IE
> 6]><table><tr><td><![endif]-->
> wrapItemAndSub = <li> | <!--[if lte IE
> 6]></td></tr></table></a><![endif]--></li>
> }
> ACT < .NO
> ACT = 1
> ACT {
> wrapItemAndSub = <li class="active"> | </li>
> }
> }
> 2 < .1
> }
>
> Hope this helps,
>
> Oliver
>
>
More information about the TYPO3-english
mailing list