[TYPO3-german] positionierung im GIFBUILDER

Ralf-René Schröder ralf.rene at online.de
Sun Aug 1 16:16:31 CEST 2010


vielleicht noch eine Zusatzfrage...
das breakWidth ist ja ein integer wert...
optimal bräuchte ich den aber in Abhängigkeit von einer Gesammtbreite minus der 
lib.product_box_title.10 Breite... irgendeine Idee wie man das realisieren könnte ???

> 
> lib.product_box_title = IMG_RESOURCE
> lib.product_box_title {
>   file = GIFBUILDER
>   file {
>     XY = [10.w]+[20.w],66
>     backColor = transparent
>     transparentBackground = 1
>     format = png
>     10 = IMAGE
>     10 {
>       offset = 0,0
>       file = GIFBUILDER
>       file {
>         XY = [10.w]+20,60
>         backColor = {$if_yaml.content.replace.H1.bgColor}
>         transparentBackground = 1
>         format = png
>         10 = TEXT
>         10 {
>           text.data = page:title
>           fontSize = 60
>           fontFile = 
> {$if_yaml.templatesDir}fonts/{$if_yaml.content.replace.H1.imageFont}
>           fontColor = white
>           offset = 0,60
>         }
>       }
>     }
>     20 = IMAGE
>     20 {
>       offset = [10.w],[10.h]-[20.h]+10
>       file = GIFBUILDER
>       file {
>         XY = [10.w],[10.h]+10
>         backColor = {$if_yaml.content.replace.H1.bgColor}
>         transparentBackground = 1
>         format = png
>         10 = TEXT
>         10 {
>           text.data =  page:subtitle
>           fontSize = 14
>           fontFile = 
> {$if_yaml.templatesDir}fonts/{$if_yaml.content.replace.H2.imageFont}
>           fontColor = white
>           offset = 0,14
>           breakWidth = 330
>         }
>       }
>     }
>   }
>   stdWrap {
>     prepend = TEXT
>     prepend {
>       dataWrap = <h1 class="G" style=
>     }
>     innerWrap.cObject = COA
>     innerWrap.cObject {
>       10 = TEXT
>       10.value = "background: transparent url(|) no-repeat top left 
> scroll;">
>     }
>     append = TEXT
>     append {
>       current = 1
>       wrap = |</h1>
>     }
>   }
> }
> 
> 
> 


-- 
Ralf-René Schröder
http://if-20.com  ... YAML templates for TYPO3
______________________________________________


More information about the TYPO3-german mailing list