Template-darstellung im IE

Fragen, Anregungen zur PC-Wetterstations-Software

Moderatoren: Werner, Tex, weneu

Antworten
Benutzeravatar
gargamel
Beiträge: 705
Registriert: 13 Mär 2009 18:35
Wohnort: 41334 Nettetal-Kaldenkirchen
Hat sich bedankt: 3 mal
Danksagung erhalten: 17 mal
Kontaktdaten:

Template-darstellung im IE

Beitrag von gargamel »

Hallo zusammen,
Ich habe folgendes Template für die UV-belastung in WsWin laufen (Akuelle version):
<!-- %customfile=uv-Belastung.html% -->
<!-- %openfile=mini-wetter.txt% -->
<b>
%ws_comparestrx=%ws_uvtext%~none~<BODY bgColor="#CAE8CC">Keine UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~minimal~<BODY bgColor="#H9FE09C">Geringe UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~low~<BODY bgColor="#36BA29">Niedrige UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~moderate~<BODY bgColor="#EBE049">Mäßige UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~high~<BODY bgColor="#E1565">Hohe UV-Strahlung~ %
%ws_comparestrx=%ws_uvtext%~veryhigh~<BODY bgColor="#C22E2E">Sehr hohe UV-Strahlung~ %
</b>
Im Firefox wird es einwandfrei angezeigt, im Internetexlorer nicht (Kein text bzw. unvollständiger Text).
Was muß ich im Template ändern?
Grüße aus
Nettetal - Kaldenkirchen
Wilfried

Mitglied beim www.ruhrwetter.de und www.wettersektor.de

www.wilfried-monika.de

Davis VantagePro2 Active Plus, Wetterdirekt Sirius 300 und Sturmglas, TOA-Blitzortung, Radioaktivmessung
Benutzeravatar
gargamel
Beiträge: 705
Registriert: 13 Mär 2009 18:35
Wohnort: 41334 Nettetal-Kaldenkirchen
Hat sich bedankt: 3 mal
Danksagung erhalten: 17 mal
Kontaktdaten:

Beitrag von gargamel »

Durch einen "Geistesblitz" meinerseits ist das Problem gelöst.
<b> und </b> für die Fettschriftdarstellung muss bei jeder textzeile separat eingegeben werden und nicht nur einmal am template anfang und -ende.
So muß es sein:
<!-- %customfile=uv-Belastung.html% -->
<!-- %openfile=mini-wetter.txt% -->
%ws_comparestrx=%ws_uvtext%~none~<BODY bgColor="#CAE8CC"><b>Keine UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~minimal~<BODY bgColor="#H9FE09C"><b>Geringe UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~low~<BODY bgColor="#36BA29"><b>Niedrige UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~moderate~<BODY bgColor="#EBE049"><b>Mäßige UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~high~<BODY bgColor="#E1565"><b>Hohe UV-Strahlung~ %</b>
%ws_comparestrx=%ws_uvtext%~veryhigh~<BODY bgColor="#C22E2E"><b>Sehr hohe UV-Strahlung~ %</b>
Grüße aus
Nettetal - Kaldenkirchen
Wilfried

Mitglied beim www.ruhrwetter.de und www.wettersektor.de

www.wilfried-monika.de

Davis VantagePro2 Active Plus, Wetterdirekt Sirius 300 und Sturmglas, TOA-Blitzortung, Radioaktivmessung
Antworten