Grafisches Buttonmenü mit Hintergrundbildern (TYPO3)


/ Published in: Other
Save to your folder(s)



Copy this code and paste it in your HTML
  1. gfxButtonMenu >
  2. gfxButtonMenu = HMENU
  3. gfxButtonMenu.special = directory
  4. gfxButtonMenu.special.value = 40
  5. gfxButtonMenu.1 = GMENU
  6. gfxButtonMenu.1 {
  7. noBlur = 1
  8. NO = 1
  9. NO {
  10. XY= [10.w]+8,18
  11.  
  12. stdWrap.htmlSpecialChars = 1
  13.  
  14. # Die Ausgabe von elementUid vorbereiten:
  15. subst_elementUid = 1
  16.  
  17. backColor = #ffffff
  18. transparentColor = #ffffff
  19.  
  20. wrap = <li id="footerMenuItem-{elementUid}">|</li>|*|<li id="footerMenuItem-{elementUid}">|</li>|*|<li id="footerMenuItem-{elementUid}" class="last">|</li>
  21.  
  22. 5 = IMAGE
  23. 5.file = fileadmin/css/images/button-left.gif
  24. 7 = IMAGE
  25. 7.file = fileadmin/css/images/button-middle.gif
  26. 7.tile = 10,1
  27. 7.offset = 3,0
  28.  
  29. 10 = TEXT
  30. 10 {
  31. text.field = title
  32. offset = 5,12
  33. fontColor = #bab2b8
  34. fontFile = fileadmin/fonts/fontfile.otf
  35. fontSize = 11
  36. niceText = 1
  37. }
  38. 15 = IMAGE
  39. 15.file = fileadmin/css/images/button-right.gif
  40. 15.offset = [10.w]+5,0
  41. }
  42.  
  43. ACT = 1
  44. ACT < .NO
  45. ACT {
  46. 5.file = fileadmin/css/images/button-left-ACT.gif
  47. 7.file = fileadmin/css/images/button-middle-ACT.gif
  48. 15.file = fileadmin/css/images/button-right-ACT.gif
  49. 10.fontColor = #4e4e4e
  50. }
  51.  
  52. RO = 1
  53. RO < .ACT
  54. RO.10.fontColor = e2007a
  55. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.