|
Weather informers for your website
<< Back.
In the old days, many home pages had "weather informers" — small images showing the weather in the visitor's city. Our service serves such pictures over plain HTTP (works in Internet Explorer 5.0 and other old browsers). Data from wttr.in.
Paste this into your page (if you want to use non-banner mode):
<img src="//downgrade-net.ru/weather/weather.php" width="120" height="60" border="0">
If you want to use the compact banner version, paste this:
<img src="//downgrade-net.ru/weather/weather.php?banner=true" width="88" height="31" border="0">
Examples:
Informer parameters.
Parameters are added after the file name using the ? symbol.
If there are several parameters, separate them with &.
Example:
<img src="//downgrade-net.ru/weather/weather.php?city=London&lang=ru" width="120" height="60" border="0">
| Parameter |
Description |
Example |
| city |
City name. If omitted, weather is detected by the visitor's IP (like on the main weather page). |
?city=London or no parameter |
| lang |
Language of weather text. Available: en or ru. |
?lang=ru |
| bgcolor |
Background color in HEX format (without # symbol). |
?bgcolor=CCFFFF |
| banner |
Enable compact 88x31 banner mode. |
?banner=true |
|