


Dieses Snippet is ein Beispiel TYPO3 GMENU. Hier werden die Itemstates ACT (active) , RO (RollOver) und NO (Normal) verwendet. Ein Menüeintrag besteht aus 2 Objekten. Einem Hintergrundbild (5) für den Menüpunkt und dem Text (10). Das Ergebnis ist ein vertikales GMENU.
TEMP_MAIN_NAV = HMENU TEMP_MAIN_NAV { 1=GMENU 1 { wrap( | <table width="194" cellspacing="0" cellpadding="0" border="0"> <tbody><tr> <td width="9" height="10"><br /></td> <td width="175" height="10"><br /></td> <td width="10" height="10"><br /></td> </tr> <tr> <td><br /></td> <td bgcolor="#dadada"><br /></td> <td><br /></td> </tr> </tbody></table> ) NO { wrap ( <tr> <td></td> <td>|</td> <td></td> </tr> ) XY=175,24 5=IMAGE 5.file=fileadmin/template/images/sfondo-menu-a.gif 10=TEXT 10 { text.field=title offset=15,16 fontColor=#000E31 fontFile=fileadmin/fonts/RoSSEB28.PFB fontSize=13 shadow { offset=0,0 color=#000000 opacity=25 blur=50 # niceText=1 } } } RO < .NO - ERROR: Line 142: Object copied in this line "RO < .NO" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. RO=1 RO.5.file=fileadmin/template/images/sfondo-menu-b.gif RO.10.fontColor= #006F93 ACT < .RO ACT=1 } 2=GMENU 2 { NO { wrap ( <tr> <td></td> <td>|</td> <td></td> </tr> ) XY=175,24 5=IMAGE 5.file=fileadmin/template/images/sfondo-menu-c.gif 10=TEXT 10 { text.field=title offset=15,16 fontColor=#000E31 fontFile=fileadmin/fonts/RoSSEB28.PFB fontSize=13 shadow { offset=0,0 color=#000000 opacity=25 blur=50 # niceText=1 } } } RO < .NO - ERROR: Line 183: Object copied in this line "RO < .NO" would leave either the value or properties untouched in TypoScript Version 1. Please check that this is not a problem for you. RO=1 RO.5.file=fileadmin/template/images/sfondo-menu-d.gif RO.10.fontColor= #006F93 ACT < .RO ACT=1 } }


Kommentare (4)