[Typo3] IMGMENU (+calc) problems

Jacco Lammers jlammers at sundayafternoon.nl
Mon Aug 29 16:23:03 CEST 2005


Best list,

I've got a working IMGMENU running, but with creating active state 
properties I encounter a problem: the BOX (4.dimensions) will not do 
+calc. It just creates a box of 10px width instead of the wanted 
[4.w]+10. Is this a bug or am I doing something wrong? Any ideas someone?

...
temp.menu_1.1.ACT = 1
temp.menu_1.1.ACT {
     # Active state properties
   distrib = textX+20, 0

   20 = TEXT
   20 {
     backColor = white
     text.field = title
     fontSize = 11
     fontColor = black
     fontFile = t3lib/fonts/SSCBd.ttf
     offset = 25,9
     imgMap.explode = 3,2
     niceText = 1
     align = center
   }

   4 = BOX
   4.color = white
# And this will not work properly:
   4.dimensions = -10,-3,[20.w]+10,17
   4.align = center
}
...

Thnx,

Jacco



More information about the TYPO3-english mailing list