Hi Arthur,
I've see your "jump" to "other side"... and is temptated to wait their answer!! :lol:
For html version, it goes by javascript as we need a "switch" depends on a condition (night/day)
or replace "0" by "night" word (as example). the solution is pretty simple!
insert that code just before </head>
<script type="text/javascript">
function ChangeIt(expr,a,b) {
var i=0
while (i!=-1) {
i=expr.indexOf(a,i);
if (i>=0) {
expr=expr.substring(0,i)+b+expr.substring(i+a.length);
i+=b.length;
}
}
return expr
}
</script>
Cut your image line in 2 parts and insert js, like this
<img src="images/meteo/
<script type="text/javascript">
document.write(ChangeIt('<#isdaylight>','0','night'));
</script>.
<#forecastnumber>.png"....
That way on night hours, you'll have night0.png to night26.png
Days hours, you'll have regular 0.png to 26.png
That solution is not best, we could do much better, but I propose that one
as it coulb be a "swiss knife" as it replace in phrase(expr) "Something(a)", "by other thing(b)"
Now, you just have to build (find) an entire weather icon set for nights!
Jacques