[TYPO3] Css drop down menu problem
Gideon So
gideonso at livingwater.org.hk
Wed Jun 13 17:48:53 CEST 2007
Hi Oliver,
Okay. IE6 and FF really okay but not IE7. Any clue to make this work
with IE7?? The original idea I propose in the thread works in IE7 also.
That's why I need a typoscripts which can produce such a result. Any idea??
Gideon
Oliver Rowlands ??:
> Hi Gideon,
>
> Indeed that didn't seem to work. Let's give it another go:
>
> lib.mainmenu >
> 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
> wrapItemAndSub = <li> | </li>
> }
> ACT = 1
> ACT < .NO
> ACT {
> wrapItemAndSub = <li class="active"> | </li>
> }
> IFSUB < .NO
> IFSUB = 1
> IFSUB {
> 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>
> }
> ACTIFSUB < .IFSUB
> ACTIFSUB = 1
> ACTIFSUB {
> wrapItemAndSub = <li class="active"> | <!--[if lte IE
> 6]></td></tr></table></a><![endif]--></li>
> }
> }
> 2 < .1
> }
>
> I've tested this in IE6 / Firefox with Typo3 4.1.1 and it works for me.
>
> Best regards,
>
> Oliver
>
More information about the TYPO3-english
mailing list