jQuery Plugin For Displaying Weather Status For Users - Weathro
File Size: | 4.02KB |
---|---|
Views Total: | 19337 |
Last Update: | |
Publish Date: | |
Official Website: | Go to website |
License: | MIT |

Weathro is a jQuery plugin that allows you create a simple weather status widget using APIs exposed by wunderground.com for your visitors. This plugin will get the geographic location of any user on your website and display a weather status of that particular location on your website.
More features:
- Weather status of the current day and the next three days is pulled and available to this widget.
- You may then choose the number days (min 1 to max 4) for which you want to display the status.
See also:
How to use it:
1. Include jQuery library and jQuery Weathro plugin on your webpage
<script src="http://code.jquery.com/jquery-latest.js"></script> <script src="./weathro.min.js"></script>
2. Create a weather status widget container
<div id="weathro"> </div>
3. Sign up a free account on wunderground.com and get a free Api Key
<div id="weathro"> </div>
4. And the paste your API key in the javascript
<script type="text/javascript"> var wundergroundAPIKey="1a10e212187d55cd"; var maxWeathroDays = 2; // Maximum number of days for which weather status will be displayed. 1,2,3,4 </script>
About Author:
Author: Jake
Home Page: http://www.codehandling.com
Project Page: http://www.codehandling.com/2013/03/weathro-displays-weather-status-for.html
This awesome jQuery plugin is developed by Jake. For more Advanced Usages, please check the demo page or visit the official website.