[Typo3-german] Animierte GIFs als RO Menuepunkt

thorsten greiner ng-reply at brainoutput.net
Sat Nov 5 21:41:34 CET 2005


hi alexander

> PS: Vllt. gibt es ja die Moeglichkeit, das Bild
> ueber das Feld Media im Seitentitel irgendwie
> einzuladen...

hier mal ein ausschnitt aus einem meiner scripte:

temp.menu = HMENU
temp.menu.excludeUidList = 10,57,59
temp.menu.1 = GMENU
temp.menu.1 {
  NO {
    XY = 123,21|*|123,20|*|123,20
    backColor = #333399
    5 = IMAGE
    5.file = button_off_top.gif|*|button_off_all.gif|*|button_off_all.gif
    10 = TEXT
    10.text.field = title
    10.fontFile = fileadmin/fonts/verdana.ttf
    10.fontColor = #ffffff
    10.fontSize = 11
    10.align = left
    10.offset = 13, 14
    10.niceText = 0
    wrap = |<br />
  }
  RO < .NO
  RO {
    5 = IMAGE
    5.file.import = fileadmin/templates/media/buttons/
    5.file.import.field = media
    5.file.import.listNum = 0
    10.fontColor = #ffffff|*|#ffffff|*|#ffffff||#003399||#003399
  }
  RO = 1
  ACT < .NO
  ACT {
    5 = IMAGE
    5.file.import = fileadmin/templates/media/buttons/
    5.file.import.field = media
    5.file.import.listNum = 1
    10.fontColor = #ffffff|*|#ffffff|*|#ffffff||#003399||#003399
  }
  ACT = 1
}

bie RO und ACT importiere ich die bilder aus dem feld dateien (bekommt man,
wenn der seitentyp auf erweitert steht). wichtig hierbei: 'listNum = 0' ist
das erste bild in der liste, 'listNum = 1' das zweite und so weiter.

allerdings weiß ich nicht, ob er da nicht auch nur das erste bild eines
ani-gifs nimmt. probiers einfach mal aus! ;)

hoffe es geht...

cheers, thorsten
-- 
there are only 10 types of people who understand binary... those who do and
those who don't...




More information about the TYPO3-german mailing list