[browser = msie]&& [version =< 7.0]
page.includeCSS.file1 =fileadmin/tn/templates/msie.css
page.includeCSS.file2= fileadmin/tn/templates/content.css
[GLOBAL]
[browser = msie]&& [version => 6.9]
page.includeCSS.file1 =fileadmin/tn/templates/msie7.css
page.includeCSS.file2= fileadmin/tn/templates/content.css
[GLOBAL]
foldendes als Browserweiche im Setup!
Hat immer funktioniert!
nur jetzt nicht mehr!
an was kann das liegen? was hab ich falsch?
Grüßle Mayon
Hi Mayon,
die Browserweiche funktioniert bei mir (Version 4.1.2) auf die Schreibweise mit && oder AND. Egal ob du [GLOBAL] oder [END] hinschreibst.
Allerdings muss das im Feld constants stehen.
Kannst das Ganze ja als Konstante deklarieren und dann abfragen.
Viel Erfolg,
Manuel
ManuP schrieb
Allerdings muss das im Feld constants stehen.
Conditions kannst du im Setup und in den Constants verwenden.
Poste mal den ganzen Code
Hi,
also ich habe zum Beispiel folgendes für ein TMENU_LAYER (da der Abstand bei IE6 und IE7 unterschiedlich waren):
#Constants
[browser = msie] && [version =< 7.0]
abstandoben = top:89px;
[GLOBAL]
[browser = msie] && [version => 6.9]
abstandoben = top:82px;
[GLOBAL]
Und dann in...
#Setup
...
layerStyle = visibility:hidden;position:absolute;left:190px;{$abstandoben}width:...
Und es funktioniert 😉