GMENU Beispiel

Submitting your vote...
Rating: 3.0 of 5. 1 vote(s).
Click the rating bar to rate this item.

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
  }
   
   
   
}



Top 10 Updates

Transparente PNG's in IE5/6 ohne JavaScript geändert am  04-Okt-2008 12:28:14
Typoscript Eigenschaften mit stdWrap erweitern geändert am  13-Jun-2008 14:16:12
Anderes Feld für GMENU alt Text geändert am  13-Jun-2008 13:55:51
Lightbox ohne Extension einbinden geändert am  13-Jun-2008 13:46:21
Menü erstellen mit Daten aus anderen Tabellen als pages V2 geändert am  24-Mär-2008 13:02:25
Login geändert am  17-Mär-2008 12:18:29
Forum geändert am  17-Mär-2008 10:07:40
Wer sind wir? geändert am  26-Dez-2007 16:06:55
Menu als unnested lists (iphone navigation) geändert am  29-Okt-2007 15:05:47
If Bedingungen mit UND und ODER Operator... geändert am  16-Okt-2007 19:04:17
English
Suche: