[TYPO3-german] Re: [TYPO3-german] menüproblem
Hans Peter Maier
istbanane at googlemail.com
Wed May 12 16:17:47 CEST 2010
"Christian Wolff" <chris at connye.com> schrieb im Newsbeitrag
news:mailman.1.1273672804.5950.typo3-german at lists.typo3.org...
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
>> Hi,
>> so sieht mein Script aus:
>>
>> marks.MENU = HMENU
>> marks.MENU.entryLevel = 0
>> marks.MENU.1 = TMENU
>> marks.MENU.1 {
>> expALL = 0
>> wrap = <ul id="first" class="menue"> | </ul>
>> NO {
>> allWrap = <li class="unexpanded"> | </li>
>> }
>> ACTIFSUB = 1
>> ACTIFSUB {
>> allWrap = <li class="expanded active">|</li>
>> }
>>
>> ACT = 1
>> ACT {
>> allWrap = <li class="1">|</li>
>> }
>> }
>>
>> marks.MENU.2 = TMENU
>> marks.MENU.2 {
>> wrap = <ul id="second" class="submenue""> | </ul>
>> NO = 1
>> NO.allWrap = <li class="sunexpanded"> | </li>
>>
>> }
>>
>> Gruß
>> hp
>>
>>
> Hi der trick ist es WrapItemAndSub zum wrappen der menü elemente zu
> verwenden.
>
> hier mal mein standard UL-Menü das ich eigendlich immer verwende
>
> lib.commonTS.menu.ul = HMENU
> lib.commonTS.menu.ul {
> 1 = TMENU
> 1.wrap = <ul>|</ul>
> 1.NO = 1
> 1.NO {
> wrapItemAndSub = <li class="cts-first">|</li> |*| <li>|</li> |*| <li
> class="cts-last">|</li>
> ATagTitle.field = abstract // description
> stdWrap.htmlSpecialChars = 1
> }
> 1.IFSUB < .1.NO
> 1.IFSUB {
> wrapItemAndSub = <li class="cts-first cts-ifsub">|</li> |*| <li
> class="cts-ifsub">|</li> |*| <li class="cts-last cts-ifsub">|</li>
> }
>
> 1.CUR < .1.NO
> 1.CUR {
> wrapItemAndSub = <li class="cts-first cts-cur">|</li> |*| <li
> class="cts-cur">|</li> |*| <li class="cts-last cts-cur">|</li>
> ATagParams = class="cts-cur"
> }
>
> 1.CURIFSUB < .1.NO
> 1.CURIFSUB {
> wrapItemAndSub = <li class="cts-first cts-ifsub cts-curifsub
> cts-cur">|</li> |*| <li class="cts-ifsub cts-curifsub cts-cur">|</li>
> |*| <li class="cts-last cts-ifsub cts-curifsub cts-cur">|</li>
> ATagParams = class="cts-cur cts-curifsub"
> }
>
> 1.ACT < .1.NO
> 1.ACT {
> wrapItemAndSub = <li class="cts-first cts-act">|</li> |*| <li
> class="cts-act">|</li> |*| <li class="cts-last cts-act">|</li>
> ATagParams = class="cts-act"
> }
>
> 1.ACTIFSUB < .1.NO
> 1.ACTIFSUB {
> wrapItemAndSub = <li class="cts-first cts-ifsub cts-actifsub
> cts-act">|</li> |*| <li class="cts-ifsub cts-actifsub cts-act">|</li>
> |*| <li class="cts-last cts-ifsub cts-actifsub cts-act">|</li>
> ATagParams = class="cts-act cts-actifsub"
> }
> }
>
>
> da umbrechen leider die wrapItemAndSub zeilen.
>
> gruss chris
>
>
>
> - --
> Christian Wolff // Berlin
> http://www.connye.com
>
> some projects:
> http://richtermediagroup.com | http://titanic.de |
> http://fairplay-homepage.de
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
>
> iEYEARECAAYFAkvqs3sACgkQIcCaXPh/JHHW/wCfXrTFwlPZTbEv4BVz6qMsSODw
> b9wAoMiEPYlsXZT/nCyU3adofs+v2sL7
> =5Qce
> -----END PGP SIGNATURE-----
Hallo Christian,
vielen Dank für den Schnipsel.
Irgendwie geht das bei mir nicht. Die zweite Ebene wird hier nicht
angezeigt.
Die Umbrüche habe ich bereingt.
Grüße
HP
More information about the TYPO3-german
mailing list