Easy-to-use visual jQuery plugin, which can show weather wherever you live.
-
Open your HTML-page file.
-
Connect so-hot.js before your main script but after jQuery.
<script src="scripts/so_hot.js"></script>
-
Add following tag down below:
<button id="weatherButton" mode="default"></button>
-
You can also set amount of weather-info using mode attribute
- "default"
- "lite"
- "extended"
-
Open your main script file.
-
Initialize your weather button block, which you made earlier
$("#weatherButton").weatherInfo()