Andy,is it possible to add more icons and weather conditions to the yahooweather.js file????
No, it's limited by Yahoo to those already there.
Andy,is it possible to add more icons and weather conditions to the yahooweather.js file????
No, it's limited by Yahoo to those already there.
Can any Weather conditions be changed,edited?
Again, conditions are provided by Yahoo I'm afraid.
Depends on how you setup the images array![]()
Could you enlighten me at all?
var weatherImages =
[
"tstorm3", //0 tornado
"tstorm3", //1 tropical storm
"tstorm3", //2 hurricane
"tstorm3", //3 severe thunderstorms
"tstorm2", //4 thunderstorms
"sleet", //5 mixed rain and snow
"sleet", //6 mixed rain and sleet
"sleet", //7 mixed snow and sleet
"sleet", //8 freezing drizzle
"light_rain", //9 drizzle
"sleet", //10 freezing rain
"showers", //11 showers
"showers", //12 showers
"snow1", //13 snow flurries
"snow2", //14 light snow showers
"snow4", //15 blowing snow
"snow4", //16 snow
"hail", //17 hail
"sleet", //18 sleet
"mist", //19 dust
"fog", //20 foggy
"fog", //21 haze
"fog", //22 smoky
"cloudy1", //23 blustery
"cloudy1", //24 windy
"overcast", //25 cold
"cloudy", //26 cloudy
"cloudy4_night",//27 mostly cloudy (night)
"cloudy4", //28 mostly cloudy (day)
"cloudy1_night",//29 partly cloudy (night)
"cloudy1", //30 partly cloudy (day)
"sunny_night", //31 clear (night)
"sunny", //32 sunny
"mist_night", //33 fair (night)
"mist", //34 fair (day)
"hail", //35 mixed rain and hail
"sunny", //36 hot
"tstorm1", //37 isolated thunderstorms
"tstorm2", //38 scattered thunderstorms
"tstorm2", //39 scattered thunderstorms
"tstorm2", //40 scattered showers
"snow5", //41 heavy snow
"snow3", //42 scattered snow showers
"snow5", //43 heavy snow
"cloudy1", //44 partly cloudy
"storm1", //45 thundershowers
"snow2", //46 snow showers
"tstorm1", //47 isolated thundershowers
"dunno", //3200 (48) not available
]
So I'll copy that from your lock screen .JS file and paste it into the iWeather .JS file and everything should be hunky dory???
Paste it over the similar code found in iWeather's JS file and all should be well, yes![]()
The words in quotations in the following refer to the filename of the weather image found in images/icons.
You can change as you please, you can find this code in src/YahooWeather.js:
Code:var weatherImages = [ "tstorm3", //0 tornado "tstorm3", //1 tropical storm "tstorm3", //2 hurricane "tstorm3", //3 severe thunderstorms "tstorm2", //4 thunderstorms "sleet", //5 mixed rain and snow "sleet", //6 mixed rain and sleet "sleet", //7 mixed snow and sleet "sleet", //8 freezing drizzle "light_rain", //9 drizzle "sleet", //10 freezing rain "showers", //11 showers "showers", //12 showers "snow1", //13 snow flurries "snow2", //14 light snow showers "snow4", //15 blowing snow "snow4", //16 snow "hail", //17 hail "sleet", //18 sleet "mist", //19 dust "fog", //20 foggy "fog", //21 haze "fog", //22 smoky "cloudy1", //23 blustery "cloudy1", //24 windy "overcast", //25 cold "cloudy", //26 cloudy "cloudy4_night",//27 mostly cloudy (night) "cloudy4", //28 mostly cloudy (day) "cloudy1_night",//29 partly cloudy (night) "cloudy1", //30 partly cloudy (day) "sunny_night", //31 clear (night) "sunny", //32 sunny "mist_night", //33 fair (night) "mist", //34 fair (day) "hail", //35 mixed rain and hail "sunny", //36 hot "tstorm1", //37 isolated thunderstorms "tstorm2", //38 scattered thunderstorms "tstorm2", //39 scattered thunderstorms "tstorm2", //40 scattered showers "snow5", //41 heavy snow "snow3", //42 scattered snow showers "snow5", //43 heavy snow "cloudy1", //44 partly cloudy "storm1", //45 thundershowers "snow2", //46 snow showers "tstorm1", //47 isolated thundershowers "dunno", //3200 (48) not available ]
//Update the weather every __ minutes...
var updateWeatherEvery = 90;
I guess that means it will update every 90 minuets, if the screen is idle, and everytime i lock the screen and turn it on, it gets updated?
Sorry for asking, just want to know for sure.
I've had a little more interest in this theme lately so I may get round to re-working it into a Safari configurable theme with caching system.
27" iMac, 2.8 GHz i5, 4 GB RAM, 1 TB HDD, ATI 5750
13,3" Macbook Pro, 2.4 GHz, 4 GB RAM, 250 GB HDD, NVIDIA 320M
iPad 64 GB - iPhone 3GS 32GB
Just so someone doesn't really screw this up, you can change a name in the quotations to a different name in quotations. You cannot make up a name.
So you can change the name of a condition/icon but it has to be one already present?
Wish you could add (night) on the end of one condition and rename the icon to something else, only have one icon for 'Light Snow' and at the moment it's 01:05am and it's snowing in front of the sun.
![]()
i think this android wallpaper looks better then the one posted on the first page.
Anyone care to make it into a iphone 4 resolution? and cut out the dark parts.
i think this with the weather widget will look awesome
.
As a temporary fix, why not change the snow icon to just a default snow (ie. one without a sun or moon). I've done that with a couple of other themes in the past.