Mountain weather widget
Embed a mountain weather forecast on your website
By embedding the Met Office Mountain weather widget in your website, you are agreeing to the Terms of Use.
To use, include the following code in your website HTML, substituting _areaid_, _areaname_ and _theme_ to your requirements:
<a class="metoffice-mountain-forecast"
href="https://www.metoffice.gov.uk/weather/specialist-forecasts/mountain/_areaid_"
data-theme="_theme_">
_areaname_ mountain weather on Met Office
</a>
<script async src="https://www.metoffice.gov.uk/public/pws/components/mountain/loader.js"></script>
Change _areaid_ and _areaname_ to match the mountain forecast you wish to include:
_areaid_ | _areaname_ |
---|---|
northwest-highlands | Northwest Highlands |
north-grampian | North Grampian |
south-grampian-and-southeast-highlands | South Grampian and Southeast Highlands |
southwest-highlands | Southwest Highlands |
mourne-mountains | Mourne Mountains |
lake-district | Lake District |
yorkshire-dales | Yorkshire Dales |
peak-district | Peak District |
snowdonia | Eryri / Snowdonia |
brecon-beacons | Bannau Brycheiniog / Brecon Beacons |
Change _theme_ to "light" or "dark" to match your website background colour.
Complete example:
<a class="metoffice-mountain-forecast"
href="https://www.metoffice.gov.uk/weather/specialist-forecasts/mountain/northwest-highlands"
data-theme="light">
Northwest Highlands mountain weather on Met Office
</a>
<script async src="https://www.metoffice.gov.uk/public/pws/components/mountain/loader.js"></script>
Will show on the page as:
Northwest Highlands mountain weather on Met Office
The mountain weather widget is currently available to users on a free of charge basis subject to our Terms of Use although this may change in the future. If you have any questions or comments about the service, or you are experiencing any problems, please contact us.