- Only works with MeteoFrance
- Require Jquery library
- Copy the project files and insert the code below in an html page located in the same folder
- Change the parameters in the code below to fit your needs
<html>
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="jquery.ajax-cross-origin.min.js"></script>
<link rel="stylesheet" type="text/css" href="jquery.jdigiclock.css">
</head>
<body>
<div id="digiclock"></div>
<script type="text/javascript" src="jquery.jdigiclock.js"></script>
<script>
$('#digiclock').jdigiclock({
imagesPath : 'images/', // Base path to image files. Clock and Weather images are located in subdirectories below this
lang: 'fr',
am_pm : false, // Specifies the AM/PM option.
weatherLocationCode : '751170', // Meteofrance city code
weatherUpdate : 60, // Weather update in minutes.
svrOffset: 0
});
</script>
</body>
</html>
- Fix API for Normals (switched to long & lat parameters)
- Add seasonal average
- Add rainfall and wind gust
- Fix Meteo France API
- New API for sunset & sunrise data: https://sunrise-sunset.org/api
- Migrated to undocumented MeteoFrance API
- Fixed API Yahoo
- Modification by Thomas Cellerier
- Single page view, added French language
- Unofficial modification by Andrew Mercer
- Changed to use Yahoo Weather rather than defunct accuweather feed.
- Disabled proxy as redundant with JSONP callback.
- Server offset option allowing JDigiClock to display in specific timezone based on server-supplied time.
- Compatibility with JQuery 1.10.2
Version 2.1.0 - 2010-02-24 (https://github.com/dineshkummarc)
- Fixed bug with configuration option
weatherImagesPath
reported by Alessandro Benedetti - Animation method rewriting
- New configuration option
proxyType
- Added .NET proxy. Thanks to Alessandro Benedetti
Version 2.0.0 - 2009-12-06 (https://github.com/dineshkummarc)
- Add 5-day forecast panel.
Version 1.0.0 - 2009-11-28 (https://github.com/dineshkummarc)
- Initial release.