I am using Skycons and it is working absolutly fine. But when I have 2 canvas id's it would render the first one but the other one will be blank.
In JS i have:
var icons = new Skycons({
"color": "#73879C"
}),
list = [
"clear-day", "clear-night", "partly-cloudy-day",
"partly-cloudy-night", "cloudy", "rain", "sleet", "snow", "wind",
"fog"
],
i;
for (i = list.length; i--; )
icons.add(list[i], list[i]);
icons.play();
So when i need 3 icons
<canvas id="rain" width="128" height="128"></canvas>
<canvas id="partly-cloudy-day" width="128" height="128"></canvas>
<canvas id="partly-cloudy-day" width="128" height="128"></canvas>
The first two will render but the third won't because it has been used twice(the id). I need all the same id's to be rendered because I do not know how many times I will use partly-cloudy-day. I hope that make sence but feel free to ask any questions that's needed.
Thanks for your help