diff --git a/demo/assets/js/dashboard2.js b/demo/assets/js/dashboard2.js index dce1dff..781263e 100644 --- a/demo/assets/js/dashboard2.js +++ b/demo/assets/js/dashboard2.js @@ -268,21 +268,4 @@ $(function () { spotColor: $this.data('spotcolor') }); }); - - //----------- - //- WEATHER - - //----------- - var icons = new Skycons({"color": '#3C8DBC'}), - list = [ - 'clear-day', 'clear-night', 'partly-cloudy-day', - 'partly-cloudy-night', 'cloudy', 'rain', 'sleet', 'snow', 'wind', - 'fog' - ], - i; - - for (i = list.length; i--;) { - icons.set(list[i], list[i]); - } - - icons.play(); }); diff --git a/demo/index2.html b/demo/index2.html index 7815418..478602a 100644 --- a/demo/index2.html +++ b/demo/index2.html @@ -1359,7 +1359,7 @@
15 km/h
+ +15 km/h
+12 km/h
+12 km/h
+14 km/h
+14 km/h
+15 km/h
+15 km/h
+11 km/h
+11 km/h
+10 km/h
+10 km/h
+The moons are split into 28 icons, to correspond neatly with the 28 day moon cycle. There is a primary set and alternate set. The primary set is meant to be interpreted as: where there are pixels, that is the illuminated part of the moon. The alternate set is meant to be interpreted as: where there are pixels, that is the shadowed part of the moon.
+The classes for the wind direction indicator is split into 2 options. You can choose towards or from. Towards points to the degree, zero at the top. From points directly away from the degree. This means, if you want the indicator to represent "wind is coming from the south", you can use the towards-0-deg
class, or if you prefer to use from, then you would use from-180-deg
.
There are 360 classes for each in 1 degree increments for maximum precision.
+ +NOTE: You must include the additional stylesheeet, weather-icons-wind.css
to use the wind icons and API mappings.
The classes for the cardinal wind direction indicator is split into 2 options. You can choose towards or from. Towards points to the direction in the class, north at the top. From points directly away from the direction in the class. This means, if you want the indicator to represent "wind is coming from the south", you can use the towards-n
class, or if you prefer to use from, then you would use from-s
.
The purpose of this is to accommodate applications that prefer to point to where the wind is originating from (arrow points against the wind), or pointing where the wind is blowing (arrow points in direction of wind). You can decide which fits your application best and use the class that matches.
+There are 16 classes each for precision when using cardinal directions.
+ +NOTE: You must include the additional stylesheeet, weather-icons-wind.css
to use the wind icons and API mappings.