Hallo,
also - ich wechsel drei CSS in Abhängigkeit der Tageszeit:
im Template-Setup
...
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
| [hour = >{$time2}] page.includeCSS.file1 = fileadmin/styles/kk01.css [ELSE] page.includeCSS.file1 = fileadmin/styles/kk02.css flagge.value = 1 [GLOBAL] [hour = <{$time1}] page.includeCSS.file1 = fileadmin/styles/kk.css [GLOBAL] page.includeCSS.file1.media = screen |
...