[TYPO3-english] Question GMENU_LAYERS

Mario Young mayeco at ubuntu.com
Wed Apr 1 11:28:18 CEST 2009


Hello Friends,

Does somebody know how to know witch one is the first and last item in
a GMENU_LAYERS?


take a look of this:


typoscript
--------------------------------
temp.gmenulayers = HMENU
temp.gmenulayers {

 1 = GMENU_LAYERS
 1 {

   wrap=<table align="center" cellspacing="0"
cellpadding="0"><tr>|</tr></table>
   layerStyle = position:absolute;VISIBILITY:hidden;
   xPosOffset = 0
   lockPosition = y
   expAll = 1
   leftOffset = 0
   topOffset = 32
   hideMenuWhenNotOver = 0
   hideMenuTimer = 5000
   relativeToTriggerItem = 1

   NO {
     wrap=<td>|</td>
     backColor = #FFFFFF
     XY = 125, 30

     5=IMAGE
     5.file=fileadmin/templates/images/menu/menu_no.png


     10 = TEXT
     10.text.field = title
     10.offset = 0,20
     10.fontColor=#FFFFFF
     10.fontSize=13

   }

   RO = 1
   RO {
     wrap=<td>|</td>
     backColor = #FFFFFF
     XY = 125, 30

     5=IMAGE
     5.file=fileadmin/templates/images/menu/menu_ro.png


     10 = TEXT
     10.text.field = title
     10.offset = 0,20
     10.fontColor=#ffffff
     10.fontSize=13

   }


 }




}
----------------


is a very simple menu without 2do level and a image background for RO
and for NO, but I want to make the menu rounded corners (sample
http://www.geoeye.com/CorpSite/ ) to make that I need to identify the
first and last element and change the menu_ro.png and menu_no.png,

is this possible?

Thank you!,



Mario


More information about the TYPO3-english mailing list