sorry dieses noch mal zu pushen !!!
aber hat irgendjemand eine Idee wie man sowas realisieren könnte
(breakWidth in Abhängigkeit eines anderen Elements im GIFBUILDER) ???


Ralf-René Schröder schrieb:
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
______________________________________________
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an