+ Reply

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: elite 6 - a suit and tie affair

is a discussion within the

iPhone 5 New Skins / Themes Launches

forums, a part of the

New Skins / Themes Launches

section;
Morning mama
...
  1. #24381
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

    Morning mama

  2. The Following User Says Thank You to 2k1 For This Useful Post:

    MamaJaay (05-24-2013)

  3. #24382
    iPhone? More like MyPhone jeff2093lin's Avatar
    Join Date
    Jul 2012
    Location
    Japan Tokyo
    Posts
    137
    Thanks
    243
    Thanked 95 Times in 60 Posts

    Quote Originally Posted by sethbossfan View Post
    Yes there is a workaround. You have to remove the call to the forecast since yahoo has stopped providing it. You have to comment out the forecast info.

    The forecast will no longer work but the widget will.

    Credits to Dacal the mastermind for initially providing this. Though the other gurus on here played a big part as well.

    Go into your main.js of any widget (for UNIAW widgets its UNIAW.js) and look for this (its closer to the bottom):

    obj.Day1 = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("day");
    obj.Day1Hi = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("high");
    obj.Day1Lo = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("low");
    obj.Day1Code = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("code");

    obj.Day2 = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("day");
    obj.Day2Hi = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("high");
    obj.Day2Lo = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("low");
    obj.Day2Code = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("code");

    obj.Day3 = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("day");
    obj.Day3Hi = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("high");
    obj.Day3Lo = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("low");
    obj.Day3Code = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("code");

    obj.Day4 = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("day");
    obj.Day4Hi = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("high");
    obj.Day4Lo = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("low");
    obj.Day4Code = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("code");

    Put this: /* in the beginning and this */ at the end like this. (You can start it at day 2 if you want as we'll as it should work with 1 day forecast):

    /*obj.Day1 = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("day");
    obj.Day1Hi = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("high");
    obj.Day1Lo = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("low");
    obj.Day1Code = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("code");

    obj.Day2 = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("day");
    obj.Day2Hi = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("high");
    obj.Day2Lo = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("low");
    obj.Day2Code = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("code");

    obj.Day3 = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("day");
    obj.Day3Hi = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("high");
    obj.Day3Lo = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("low");
    obj.Day3Code = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("code");

    obj.Day4 = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("day");
    obj.Day4Hi = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("high");
    obj.Day4Lo = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("low");
    obj.Day4Code = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("code");*/


    And your widget *should* work.

    Toe completely remove any boxes or forecast info do the same for this:

    document.getElementById("Day1").innerHTML=Forecast DayNames(obj.Day1);
    document.getElementById("Day1Icon").src="Images/Icon Sets/"+IconSet+"/"+obj.Day1Code+".png";
    document.getElementById("Day1HiLo").innerHTML=obj. Day1Lo+ "°/ "+obj.Day1Hi+ "°";
    document.getElementById("Day2").innerHTML=Forecast DayNames(obj.Day2);
    document.getElementById("Day2Icon").src="Images/Icon Sets/"+IconSet+"/"+obj.Day2Code+".png";
    document.getElementById("Day2HiLo").innerHTML=obj. Day2Lo+ "°/ "+obj.Day2Hi+ "°";
    document.getElementById("Day3").innerHTML=Forecast DayNames(obj.Day3);
    document.getElementById("Day3Icon").src="Images/Icon Sets/"+IconSet+"/"+obj.Day3Code+".png";
    document.getElementById("Day3HiLo").innerHTML=obj. Day3Lo+ "°/ "+obj.Day3Hi+ "°";
    document.getElementById("Day4").innerHTML=Forecast DayNames(obj.Day4);
    document.getElementById("Day4Icon").src="Images/Icon Sets/"+IconSet+"/"+obj.Day4Code+".png";
    document.getElementById("Day4HiLo").innerHTML=obj. Day4Lo+ "°/ "+obj.Day4Hi+ "°";

    If you need more assistance I'm sure someone, including myself can assist you.

    Hope this helps.
    Use iFile?
    Thank you~!

  4. #24383
    Livin the iPhone Life sethbossfan's Avatar
    Join Date
    Nov 2012
    Posts
    1,141
    Thanks
    2,019
    Thanked 2,085 Times in 818 Posts

    Quote Originally Posted by jeff2093lin View Post
    Use iFile?
    Thank you~!
    Yes
    IOS 7 - A KNEE JERK JAILBREAK RELEASE

  5. #24384
    iPhone? More like MyPhone jeff2093lin's Avatar
    Join Date
    Jul 2012
    Location
    Japan Tokyo
    Posts
    137
    Thanks
    243
    Thanked 95 Times in 60 Posts

    Quote Originally Posted by sethbossfan View Post
    Yes
    Hi sethbossfan~!

    e6 LS Tap Slide.theme Not work!

    Why???

  6. #24385
    iPhone? More like MyPhone mister jay's Avatar
    Join Date
    Nov 2010
    Location
    Germany (S-H)
    Posts
    122
    Thanks
    41
    Thanked 9 Times in 7 Posts

    Quote Originally Posted by 2k1 View Post
    Download Icleaner from cydia
    doesn´t help

    same problem

    iPhone 5 iOS 6.1

  7. #24386
    Theme Modder nateD's Avatar
    Join Date
    Dec 2011
    Location
    Sydney, Australia
    Posts
    1,407
    Thanks
    11,321
    Thanked 9,128 Times in 1,301 Posts

    morning/afternoon/evening peeps...since yahoo f'd us all up again i thought i give icon making another go for a while and here's three i've made for myself that i thought were elite enough and worthy of sharing with you guys and girls.. the left and right icons are obviously for ifile and winterboard, and the middle one i made for mx tube but would suit any video based app i guess..




  8. The Following 29 Users Say Thank You to nateD For This Useful Post:

    Best01 (05-24-2013), boris1978 (05-24-2013), BoyBastos (05-24-2013), dakkota (05-24-2013), Darrenrooster (05-24-2013), Dexy88 (05-24-2013), doomsday116 (05-24-2013), elilab (05-24-2013), EricB78 (05-24-2013), Fattone66 (05-24-2013), Glassguy619 (05-24-2013), Hip5 (05-27-2013), jc4108 (05-24-2013), jeff2093lin (05-24-2013), Laxu (05-24-2013), map1978 (05-24-2013), mentop (05-29-2013), NewdestinyX (05-24-2013), nfsonofgod (05-24-2013), pocketdoc (05-24-2013), prymeh (05-24-2013), rumcajs (05-24-2013), sethbossfan (05-24-2013), TaJr12 (05-24-2013), The Analyst (05-25-2013), The_Durben (05-24-2013), Tomme11 (05-27-2013), UNLOCKZ (05-24-2013), zplit (05-24-2013)

  9. #24387
    Theme Modder Heine's Avatar
    Join Date
    Mar 2008
    Posts
    977
    Thanks
    4,284
    Thanked 2,460 Times in 802 Posts

    Quote Originally Posted by Mav1971 View Post
    The mesh?

    Can't remember who made it Isk or H3ated33 in not sure but definitely nice
    thx

  10. #24388
    Livin the iPhone Life sethbossfan's Avatar
    Join Date
    Nov 2012
    Posts
    1,141
    Thanks
    2,019
    Thanked 2,085 Times in 818 Posts

    Quote Originally Posted by jeff2093lin View Post
    Hi sethbossfan~!

    e6 LS Tap Slide.theme Not work!

    Why???
    Send me the main.js
    IOS 7 - A KNEE JERK JAILBREAK RELEASE

  11. The Following User Says Thank You to sethbossfan For This Useful Post:

    jeff2093lin (05-24-2013)

  12. #24389
    iPhone? More like MyPhone jeff2093lin's Avatar
    Join Date
    Jul 2012
    Location
    Japan Tokyo
    Posts
    137
    Thanks
    243
    Thanked 95 Times in 60 Posts

    Quote Originally Posted by sethbossfan View Post
    Send me the main.js
    var updateWeatherEvery = updateInterval*60*1000;
    var xmldata = false;
    Last edited by jeff2093lin; 05-24-2013 at 07:55 AM.

  13. #24390
    Livin the iPhone Life sethbossfan's Avatar
    Join Date
    Nov 2012
    Posts
    1,141
    Thanks
    2,019
    Thanked 2,085 Times in 818 Posts

    Quote Originally Posted by jeff2093lin View Post
    var updateWeatherEvery = updateInterval*60*1000;
    var xmldata = false;
    var postal;
    var filename = "";
    var where = "";
    var whereOld = "";
    var refreshLocationTimer;
    var updateTimer = 0;
    var zip;
    var touchdownX;
    var touchupX;
    var touchX;
    var stateX = 0;
    var elem;
    var TextColor = "TextColorGrey";
    var Sensibility = 0.3; // in seconds
    var weatherdisplay = false;
    var InAction = false;

    switch (lang) {
    case "fr":
    var days = ["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Ven dredi","Samedi"];
    var months=['Janvier','Fevrier','Mars','Avril','Mai','Juin','J uillet','Aout','Septembre','Octobre','Novembre','D ecembre'];
    break;
    case "de":
    var days = ["Son","Mon","Die","Mit","Don","Fre","Sam"];
    var months=["Januar","Februar","Marz","April","Mai","Juni","Ju li","August","September ","Oktober","November","Dezember"];
    break;
    case "sp":
    var days = ["Dom","Lun","Mar","Mie","Jue","Vie","Sab"];
    var months=['Enero','Febrero','Marzo','Abril','Mayo','Junio',' Juliot','Agosto','Septiembre','Octubre','Novimbre' ,'Decimbre'];
    break;
    case "it":
    var days = ["Dom","Lun","Mar","Mer","Gio","Ven","Sab"];
    var months=['Gennaio','Febbraio','Marzo','Aprile','Maggio','Gi ugno','Luglio','Agosto','Settembre','Ottobre','Nov embre','Dicembre'];
    break;
    default:
    var days = ["Sunday","Monday","Tuesday","Wednesday","Thursday" ,"Friday","Saturday"];
    var months=["January","February","March","April","May","June", "July","August","September","October","November"," December"];
    break;
    }

    function ForecastDayNames(day) {
    switch (day) {
    case "Sun": { return days[0]; }
    case "Mon": { return days[1]; }
    case "Tue": { return days[2]; }
    case "Wed": { return days[3]; }
    case "Thu": { return days[4]; }
    case "Fri": { return days[5]; }
    case "Sat": { return days[6]; }
    case "Today": { return "Today"; }
    case "Tonight": { return "Tonight"; }
    }
    }

    function updateClock() {
    var currentTime = new Date();
    var currentHours = currentTime.getHours();
    var currentMinutes = currentTime.getMinutes() < 10 ? '0' + currentTime.getMinutes() : currentTime.getMinutes();
    var currentSeconds = currentTime.getSeconds() < 10 ? '0' + currentTime.getSeconds() : currentTime.getSeconds();
    var currentDate = currentTime.getDate() < 10 ? '0' + currentTime.getDate() : currentTime.getDate();
    var currentYear = currentTime.getFullYear();
    timeOfDay = ( currentHours < 12 ) ? "AM" : "PM";

    if (ampm == false) {
    timeOfDay = "";
    currentHours = ( currentHours < 10 ? "0" : "" ) + currentHours;
    currentTimeString = currentHours + ":" + currentMinutes;
    } else {
    currentHours = ( currentHours > 12 ) ? currentHours - 12 : currentHours;
    currentHours = ( currentHours == 0 ) ? 12 : currentHours;
    currentTimeString = currentHours + ":" + currentMinutes;
    }

    document.getElementById("hour").innerHTML = currentHours;
    document.getElementById("minute").innerHTML = currentMinutes;
    document.getElementById("ampm").innerHTML = timeOfDay;
    document.getElementById("second").innerHTML = currentSeconds;
    document.getElementById("year").innerHTML = currentYear;

    if (lang == "am") {
    document.getElementById("weekday").innerHTML = days[currentTime.getDay()] + ",";
    document.getElementById("month").innerHTML = months[currentTime.getMonth()] ;
    document.getElementById("date").innerHTML = currentDate;
    } else {
    document.getElementById("weekday").innerHTML = days[currentTime.getDay()];
    document.getElementById("month").innerHTML = currentDate; // DONT WORRY ! IT'S NORMAL
    document.getElementById("date").innerHTML = months[currentTime.getMonth()];
    }

    if (currentTime.getTime() - updateTimer >= updateWeatherEvery) {
    if (updateTimer == 0) {
    if (gps == true) { UpdateLocation(); } else { validateWeatherLocation(escape(locale).replace(/^%u/g, "%"), setPostal); }
    } else {
    weatherRefresherTemp(zip);
    }
    updateTimer = currentTime.getTime();
    }

    }

    function init(){
    elem = document.getElementById("TouchLayer");
    if (ChangeClick == false) {
    elem.addEventListener("touchstart", touchStart, false);
    elem.addEventListener("touchmove", touchMove, false);
    elem.addEventListener("touchend", touchEnd, false);
    } else {
    elem.addEventListener("mousedown", mouseDown, false);
    elem.addEventListener("mouseup", mouseUp, false);
    elem.addEventListener("click", touchEnd, false);
    }
    document.getElementById("city").innerHTML="Loading ...";

    if (SecDisplay == false) { document.getElementById("second").style.display='n one';}

    if (PageDotDisplay == false) {
    document.getElementById("TopBar").src="Style/BG_Image.png";
    document.getElementById("DateBG").style.display='n one';
    document.getElementById("WeatherBG").style.display ='none';
    document.getElementById("ForecastBG").style.displa y='none';
    }

    updateClock();
    setInterval(updateClock, 1000);
    }



    function touchStart(event) {
    event.preventDefault();
    touchdownX = event.targetTouches[0].pageX;
    }

    function touchMove(event) {
    event.preventDefault();
    touchupX = event.targetTouches[0].pageX;
    touchX = touchdownX - touchupX;
    if ( (touchX != 0) && (weatherdisplay == true) ) {
    InAction = true;
    EventTouchPause();
    MoveElementX();
    }
    }

    function touchEnd(event) {
    if (InAction == false) {
    if ( weatherdisplay == false ) {
    document.getElementById('widgetContainer').style.w ebkitAnimationName = "weatherMoveUp";
    document.getElementById('widgetContainer').style.w ebkitAnimationDuration = "0.3s";
    document.getElementById('forecast').style.webkitAn imationName = "weatherMoveUp";
    document.getElementById('forecast').style.webkitAn imationDuration = "0.3s";
    weatherdisplay = true;
    } else {
    document.getElementById('widgetContainer').style.w ebkitAnimationName = "weatherMoveDown";
    document.getElementById('widgetContainer').style.w ebkitAnimationDuration = "0.3s";
    document.getElementById('forecast').style.webkitAn imationName = "weatherMoveDown";
    document.getElementById('forecast').style.webkitAn imationDuration = "0.3s";
    weatherdisplay = false;
    }
    }
    }

    function EventTouchPause() {
    elem.removeEventListener("touchstart", touchStart, false);
    elem.removeEventListener("touchmove", touchMove, false);
    elem.removeEventListener("touchend", touchEnd, false);
    setTimeout(function() {
    elem.addEventListener("touchstart", touchStart, false);
    elem.addEventListener("touchmove", touchMove, false);
    elem.addEventListener("touchend", touchEnd, false);
    InAction = false;
    }, Sensibility*1000);
    }

    function mouseDown(event) {
    event.preventDefault();
    touchdownX = event.pageX;
    }

    function mouseUp(event) {
    event.preventDefault();
    touchupX = event.pageX;
    touchX = touchdownX - touchupX;
    if ( (touchX != 0) && (weatherdisplay == true) ) {
    InAction = true;
    EventMousePause();
    MoveElementX();
    }
    }

    function EventMousePause() {
    elem.removeEventListener("mousedown", mouseDown, false);
    elem.removeEventListener("mouseup", mouseUp, false);
    elem.removeEventListener("click", touchEnd, false);
    setTimeout(function() {
    elem.addEventListener("mousedown", mouseDown, false);
    elem.addEventListener("mouseup", mouseUp, false);
    elem.addEventListener("click", touchEnd, false);
    InAction = false;
    }, Sensibility*1000);
    }

    function MoveElementX() {
    switch (stateX) {
    case 0 :
    if ( touchX > 0 ) {
    document.getElementById("Tops").style.webkitAnimat ionName = "Info_Anim_Left0";
    document.getElementById("Tops").style.webkitAnimat ionDuration = Sensibility*2 + "s";
    stateX++;
    }
    break;
    case 1 :
    if ( touchX < 0 ) {
    document.getElementById("Tops").style.webkitAnimat ionName = "Info_Anim_Right0";
    document.getElementById("Tops").style.webkitAnimat ionDuration = Sensibility*2 + "s";
    stateX--;
    }
    break;
    }
    }

    function setPostal(obj){
    if (obj.error == false){
    if(obj.cities.length > 0) {
    postal = escape(obj.cities[0].zip).replace(/^%u/g, "%")
    convertWoeid();
    }
    else
    {
    document.getElementById("city").innerHTML="Locale ?!";
    }
    }
    else
    {
    document.getElementById("city").innerHTML="Locale ?!";
    setTimeout('validateWeatherLocation(escape(locale) .replace(/^%u/g, "%"), setPostal)', Math.round(1000*60*5));
    }
    }

    function weatherRefresherTemp(zip){
    fetchWeatherData(dealWithWeather, zip);
    }

    function validateWeatherLocation (location, callback) {
    var obj = {error:false, errorString:null, cities: new Array};
    obj.cities[0] = {zip: location};
    callback (obj);
    }

    function dealWithWeather(obj){
    if (obj.error == false){
    document.getElementById("city").className= TextColor;
    document.getElementById("city").innerHTML= obj.city;
    document.getElementById("desc").innerHTML = obj.description;
    document.getElementById("temp").innerHTML = obj.temp + "\u00B0" + tempUnit.toUpperCase();
    document.getElementById("hightemp").innerHTML = "H: " + obj.todayhigh + "\u00B0" + tempUnit.toUpperCase();

    document.getElementById("lowtemp").innerHTML = "L: " + obj.todaylow + "\u00B0" + tempUnit.toUpperCase();

    if ( gps == true) {
    document.getElementById("coordinates").className = "TextColorGrey";
    document.getElementById("coordinates").innerHTML = " [" + textLat + " " + textLong + "]";
    } else {
    document.getElementById("coordinates").innerHTML = " ";
    }

    switch (lang) {
    case "fr":
    translatedesc=obj.description.toLowerCase();
    if (translatedesc=='sunny') { document.getElementById("desc").innerHTML='Ensolei llé'; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Bruine' ; }
    if (translatedesc=='heavy snow') { document.getElementById("desc").innerHTML='Fortes chutes de neige'; }
    if (translatedesc=='heavy rain') { document.getElementById("desc").innerHTML='Fortes averses'; }
    if (translatedesc=='rain and snow') { document.getElementById("desc").innerHTML='Pluie et neige'; }
    if (translatedesc=='mixed rain and snow') { document.getElementById("desc").innerHTML='Pluie et neige mélées'; }
    if (translatedesc=='fair') { document.getElementById("desc").innerHTML='Ciel dégagé'; }
    if (translatedesc=='mostly sunny') { document.getElementById("desc").innerHTML='Quelque s nuages'; }
    if (translatedesc=='partly sunny') { document.getElementById("desc").innerHTML='Partiel lement nuageux'; }
    if (translatedesc=='intermittent clouds') { document.getElementById("desc").innerHTML='Nuages éparses'; }
    if (translatedesc=='hazy sunshine') { document.getElementById("desc").innerHTML='Légèrem ent voilé';}
    if (translatedesc=='haze') { document.getElementById("desc").innerHTML='Brume'; }
    if (translatedesc=='mostly cloudy') { document.getElementById("desc").innerHTML='Très nuageux'; }
    if (translatedesc=='cloudy') { document.getElementById("desc").innerHTML='Nuageux '; }
    if (translatedesc=='fog') { document.getElementById("desc").innerHTML='Brouill ard'; }
    if (translatedesc=='showers') { document.getElementById("desc").innerHTML='Averses ';}
    if (translatedesc=='partly sunny with showers') { document.getElementById("desc").innerHTML='Soleil et averses'; }
    if (translatedesc=='thunderstorms') { document.getElementById("desc").innerHTML='Orages' ; }
    if (translatedesc=='thunderstorm') { document.getElementById("desc").innerHTML='Orage'; }
    if (translatedesc=='mostly cloudy with thunder showers') { document.getElementById("desc").innerHTML='Très nuageux et fortes averses'; }
    if (translatedesc=='partly sunny with thunder showers') { document.getElementById("desc").innerHTML='Soleil et fortes averses'; }
    if (translatedesc=='light rain') { document.getElementById("desc").innerHTML='Légère pluie'; }
    if (translatedesc=='rain') { document.getElementById("desc").innerHTML='Pluie'; }
    if (translatedesc=='flurries') { document.getElementById("desc").innerHTML='Averses de neige';}
    if (translatedesc=='mostly cloudy with flurries') { document.getElementById("desc").innerHTML='Très nuageux avec neige'; }
    if (translatedesc=='partly sunny with flurries') { document.getElementById("desc").innerHTML='Soleil et averses de neige'; }
    if (translatedesc=='snow flurries') { document.getElementById("desc").innerHTML='Averses de neige'; }
    if (translatedesc=='snow showers') { document.getElementById("desc").innerHTML='Averses de neige'; }
    if (translatedesc=='snow') { document.getElementById("desc").innerHTML='Neige'; }
    if (translatedesc=='mostly cloudy with snow') { document.getElementById("desc").innerHTML='Très nuageux et neige'; }
    if (translatedesc=='ice') { document.getElementById("desc").innerHTML='Glace'; }
    if (translatedesc=='sleet') { document.getElementById("desc").innerHTML='Verglas '; }
    if (translatedesc=='freezing rain') { document.getElementById("desc").innerHTML='Pluie verglaçante'; }
    if (translatedesc=='rain and snow mixed') { document.getElementById("desc").innerHTML='Pluie et neige mélées';}
    if (translatedesc=='hot') { document.getElementById("desc").innerHTML='Chaud'; }
    if (translatedesc=='cold') { document.getElementById("desc").innerHTML='Froid'; }
    if (translatedesc=='windy') { document.getElementById("desc").innerHTML='Vent'; }
    if (translatedesc=='clear') { document.getElementById("desc").innerHTML='Clair'; }
    if (translatedesc=='mostly clear') { document.getElementById("desc").innerHTML='Très clair';}
    if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Partiel lement nuageux'; }
    if (translatedesc=='hazy') { document.getElementById("desc").innerHTML='Brume'; }
    if (translatedesc=='partly cloudy with showers') { document.getElementById("desc").innerHTML='Partiel lement nuageux et averses';}
    if (translatedesc=='mostly cloudy with showers') { document.getElementById("desc").innerHTML='Très nuageux et averses'; }
    if (translatedesc=='party cloudy with thunder showers') { document.getElementById("desc").innerHTML='Partiel lement nuageux et fortes averses'; }
    if (translatedesc=='foggy') { document.getElementById("desc").innerHTML='Brouill ard'; }
    if (translatedesc=='light snow') { document.getElementById("desc").innerHTML='Flocons de neige'; }
    if (translatedesc=='light snow showers') { document.getElementById("desc").innerHTML='Légères chutes de neige'; }
    if (translatedesc=='rain shower') { document.getElementById("desc").innerHTML='Averses '; }
    if (translatedesc=='light drizzle') { document.getElementById("desc").innerHTML='Légère bruine'; }
    if (translatedesc=='mixed rain and sleet') { document.getElementById("desc").innerHTML='Pluie et verglas'; }
    if (translatedesc=='mixed snow and sleet') { document.getElementById("desc").innerHTML='Neige et verglas'; }
    if (translatedesc=='severe thunderstorms') { document.getElementById("desc").innerHTML='Gros orages'; }
    if (translatedesc=='hurricane') { document.getElementById("desc").innerHTML='Ouragan '; }
    if (translatedesc=='tropical storm') { document.getElementById("desc").innerHTML='Orage tropical'; }
    if (translatedesc=='tornado') { document.getElementById("desc").innerHTML='Tornade ';}
    if (translatedesc=='freezing drizzle') { document.getElementById("desc").innerHTML='Buine verglaçante'; }
    if (translatedesc=='blowing snow') { document.getElementById("desc").innerHTML='Rafales de neige'; }
    if (translatedesc=='hail') { document.getElementById("desc").innerHTML='Grêle'; }
    if (translatedesc=='dust') { document.getElementById("desc").innerHTML='Poussié reux';}
    if (translatedesc=='somky') { document.getElementById("desc").innerHTML='Brumeux '; }
    if (translatedesc=='blustery') { document.getElementById("desc").innerHTML='Tempête '; }
    if (translatedesc=='mixed rain and hail') { document.getElementById("desc").innerHTML='Pluie et Grêle mélées'; }
    if (translatedesc=='isolated thunderstorms') { document.getElementById("desc").innerHTML='Orages isolés'; }
    if (translatedesc=='isolated thundershowers') { document.getElementById("desc").innerHTML='Averses isolés'; }
    if (translatedesc=='scattered thunderstorms') { document.getElementById("desc").innerHTML='Orages éparses'; }
    if (translatedesc=='scattered showers') { document.getElementById("desc").innerHTML='Averses éparses'; }
    if (translatedesc=='scattered snow showers') { document.getElementById("desc").innerHTML='Chutes de neige éparses'; }
    if (translatedesc=='light rain with thunder') { document.getElementById("desc").innerHTML='Pluie légère et éclairs'; }
    if (translatedesc=='not available') { document.getElementById("desc").innerHTML='Non disponible'; }
    if (translatedesc=='drifting snow/windy') { document.getElementById("desc").innerHTML='Neige poudreuse et vent'; }
    if (translatedesc=='light rain shower') { document.getElementById("desc").innerHTML='Légère averse'; }
    if (translatedesc=='thunder') { document.getElementById("desc").innerHTML='Tonnerr e'; }
    if (translatedesc=='mostly cloudy/windy') { document.getElementById("desc").innerHTML='Très nuageux et vent'; }
    if (translatedesc=='sandstorm') { document.getElementById("desc").innerHTML='Tempête de sable'; }
    if (translatedesc=='squalls/windy') { document.getElementById("desc").innerHTML='Rafales de vent'; }
    if (translatedesc=='sand') { document.getElementById("desc").innerHTML='Sable'; }
    if (translatedesc=='sandstorm/windy') { document.getElementById("desc").innerHTML='Tempête de sable et vent'; }
    if (translatedesc=='squalls') { document.getElementById("desc").innerHTML='Rafales '; }
    break;
    case "de":
    translatedesc=obj.description.toLowerCase();
    if (translatedesc=='tornado') { document.getElementById("desc").innerHTML='Tornado !'; }
    if (translatedesc=='tropical storm') { document.getElementById("desc").innerHTML='Tropisc her Sturm'; }
    if (translatedesc=='hurricane') { document.getElementById("desc").innerHTML='Wirbels turm'; }
    if (translatedesc=='severe thunderstorms') { document.getElementById("desc").innerHTML='Schwere Gewitter'; }
    if (translatedesc=='thunderstorms') { document.getElementById("desc").innerHTML='Gewitte r'; }
    if (translatedesc=='mixed rain and snow') { document.getElementById("desc").innerHTML='Regen und Schnee'; }
    if (translatedesc=='mixed rain and sleet') { document.getElementById("desc").innerHTML='Graupel schauer'; }
    if (translatedesc=='mixed snow and sleet') { document.getElementById("desc").innerHTML='Schneer egen'; }
    if (translatedesc=='freezing drizzle') { document.getElementById("desc").innerHTML='Gefrier ender Nieselregen'; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Nieselr egen'; }
    if (translatedesc=='freezing rain') { document.getElementById("desc").innerHTML='Gefrier ender Regen'; }
    if (translatedesc=='showers') { document.getElementById("desc").innerHTML='Schauer '; }
    if (translatedesc=='snow flurries') { document.getElementById("desc").innerHTML='Schneeg estöber'; }
    if (translatedesc=='light snow showers') { document.getElementById("desc").innerHTML='Leichte Schneeschauer'; }
    if (translatedesc=='light snow grains') { document.getElementById("desc").innerHTML='Leichte Schneeschauer'; }
    if (translatedesc=='blowing snow') { document.getElementById("desc").innerHTML='Schneet reiben'; }
    if (translatedesc=='snow') { document.getElementById("desc").innerHTML='Schnee' ; }
    if (translatedesc=='hail') { document.getElementById("desc").innerHTML='Hagel'; }
    if (translatedesc=='sleet') { document.getElementById("desc").innerHTML='Schneer egen'; }
    if (translatedesc=='dust') { document.getElementById("desc").innerHTML='Staubig '; }
    if (translatedesc=='foggy') { document.getElementById("desc").innerHTML='Nebelig '; }
    if (translatedesc=='haze') { document.getElementById("desc").innerHTML='Dunstsc hleier'; }
    if (translatedesc=='smoky') { document.getElementById("desc").innerHTML='Dunstig '; }
    if (translatedesc=='blustery') { document.getElementById("desc").innerHTML='Stürmis ch'; }
    if (translatedesc=='windy') { document.getElementById("desc").innerHTML='Windig' ; }
    if (translatedesc=='cold') { document.getElementById("desc").innerHTML='Kalt'; }
    if (translatedesc=='cloudy') { document.getElementById("desc").innerHTML='Bewölkt '; }
    if (translatedesc=='mostly cloudy') { document.getElementById("desc").innerHTML='Meist Bewölkt'; }
    if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Teilwei se Bewölkt'; }
    if (translatedesc=='clear') { document.getElementById("desc").innerHTML='Klar'; }
    if (translatedesc=='sunny') { document.getElementById("desc").innerHTML='Sonnig' ; }
    if (translatedesc=='fair') { document.getElementById("desc").innerHTML='Heiter' ; }
    if (translatedesc=='mixed rain and hail') { document.getElementById("desc").innerHTML='Regen und Hagel'; }
    if (translatedesc=='hot') { document.getElementById("desc").innerHTML='Heiss'; }
    if (translatedesc=='isolated thunderstorms') { document.getElementById("desc").innerHTML='Örtlich e Gewitter'; }
    if (translatedesc=='scattered thunderstorms') { document.getElementById("desc").innerHTML='Vereinz elte Gewitter'; }
    if (translatedesc=='scattered showers') { document.getElementById("desc").innerHTML='Vereinz elte Schauer'; }
    if (translatedesc=='heavy snow') { document.getElementById("desc").innerHTML='Starker Schneefall'; }
    if (translatedesc=='scattered snow showers') { document.getElementById("desc").innerHTML='Vereinz elte Schneeschauer'; }
    if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Teilwei se Bewölkt'; }
    if (translatedesc=='thundershowers') { document.getElementById("desc").innerHTML='Gewitte r'; }
    if (translatedesc=='snow showers') { document.getElementById("desc").innerHTML='Scheesc hauer'; }
    if (translatedesc=='isolated thundershowers') { document.getElementById("desc").innerHTML='Ouml;rt liche Gewitterschauer'; }
    if (translatedesc=='light rain shower') { document.getElementById("desc").innerHTML='Leichte Regenschauer'; }
    if (translatedesc=='not available') { document.getElementById("desc").innerHTML='nicht verfuegbar'; }
    if (translatedesc=='showers in the vicinity') { document.getElementById("desc").innerHTML='Schauer '; }
    if (translatedesc=='partly sunny') { document.getElementById("desc").innerHTML='Teilwei se Sonnig'; }
    if (translatedesc=='ground fog') { document.getElementById("desc").innerHTML='Bodenne bel'; }
    if (translatedesc=='light drizzle') { document.getElementById("desc").innerHTML='Leichte r Nieselregen'; }
    if (translatedesc=='light rain') { document.getElementById("desc").innerHTML='Leichte r Regen'; }
    if (translatedesc=='mist') { document.getElementById("desc").innerHTML='Nebel'; }
    if (translatedesc=='fog') { document.getElementById("desc").innerHTML='Nebel'; }
    if (translatedesc=='rain') { document.getElementById("desc").innerHTML='Regen'; }
    if (translatedesc=='rain shower') { document.getElementById("desc").innerHTML='Regensc hauer'; }
    if (translatedesc=='severe thunderstorm/windy') { document.getElementById("desc").innerHTML='Schwere Gewitter/Windig'; }
    break;
    case "sp":
    translatedesc=obj.description.toLowerCase();
    if (translatedesc=='sunny') { document.getElementById("desc").innerHTML='Soleado '; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Llovizn a'; }
    if (translatedesc=='heavy snow') { document.getElementById("desc").innerHTML='Nieve fuerte'; }
    if (translatedesc=='heavy rain') { document.getElementById("desc").innerHTML='Luvia fuerte'; }
    if (translatedesc=='rain and snow') { document.getElementById("desc").innerHTML='Lluvia y nieve'; }
    if (translatedesc=='mixed rain and snow') { document.getElementById("desc").innerHTML='Mezcla de lluvia y nieve'; }
    if (translatedesc=='fair') { document.getElementById("desc").innerHTML='Despeja do'; }
    if (translatedesc=='mostly sunny') { document.getElementById("desc").innerHTML='Mayorme nte soleado'; }
    if (translatedesc=='partly sunny') { document.getElementById("desc").innerHTML='Parcial mente soleado'; }
    if (translatedesc=='intermittent clouds') { document.getElementById("desc").innerHTML='Intermi tente nublado'; }
    if (translatedesc=='hazy sunshine') { document.getElementById("desc").innerHTML='Sol brumoso';}
    if (translatedesc=='haze') { document.getElementById("desc").innerHTML='Bruma'; }
    if (translatedesc=='mostly cloudy') { document.getElementById("desc").innerHTML='Mayorme nte nublado'; }
    if (translatedesc=='cloudy') { document.getElementById("desc").innerHTML='Nublado '; }
    if (translatedesc=='fog') { document.getElementById("desc").innerHTML='Niebla' ; }
    if (translatedesc=='showers') { document.getElementById("desc").innerHTML='Chubasc os';}
    if (translatedesc=='partly sunny with showers') { document.getElementById("desc").innerHTML='Parcial mente soleado con chubascos'; }
    if (translatedesc=='thunderstorms') { document.getElementById("desc").innerHTML='Torment as electricas'; }
    if (translatedesc=='thunderstorm') { document.getElementById("desc").innerHTML='Torment a electrica';}
    if (translatedesc=='mostly cloudy with thunder showers') { document.getElementById("desc").innerHTML='Mayorme nte nublado con tormentas de chubascos'; }
    if (translatedesc=='partly sunny with thunder showers') { document.getElementById("desc").innerHTML='Parcial mente soleado con tormentas de chubascos'; }
    if (translatedesc=='light rain') { document.getElementById("desc").innerHTML='Lluvia ligera'; }
    if (translatedesc=='rain') { document.getElementById("desc").innerHTML='Lluvia' ; }
    if (translatedesc=='flurries') { document.getElementById("desc").innerHTML='Rafagas ';}
    if (translatedesc=='mostly cloudy with flurries') { document.getElementById("desc").innerHTML='Mayorme nte nublado con rafagas'; }
    if (translatedesc=='partly sunny with flurries') { document.getElementById("desc").innerHTML='Parcial mente soleado con rafagas'; }
    if (translatedesc=='snow flurries') { document.getElementById("desc").innerHTML='Rafagas de nieve'; }
    if (translatedesc=='snow showers') { document.getElementById("desc").innerHTML='Precipi taciones de nieve'; }
    if (translatedesc=='snow') { document.getElementById("desc").innerHTML='Nieve'; }
    if (translatedesc=='mostly cloudy with snow') { document.getElementById("desc").innerHTML='Mayorme nte nublado con nieve'; }
    if (translatedesc=='ice') { document.getElementById("desc").innerHTML='Hielo'; }
    if (translatedesc=='sleet') { document.getElementById("desc").innerHTML='Aguanie ve';}
    if (translatedesc=='freezing rain') { document.getElementById("desc").innerHTML='Lluvia bajo cero'; }
    if (translatedesc=='rain and snow mixed') { document.getElementById("desc").innerHTML='Mezcla de lluvia y nieve';}
    if (translatedesc=='hot') { document.getElementById("desc").innerHTML='Caluros o'; }
    if (translatedesc=='cold') { document.getElementById("desc").innerHTML='Frio'; }
    if (translatedesc=='windy') { document.getElementById("desc").innerHTML='Vientos o'; }
    if (translatedesc=='clear') { document.getElementById("desc").innerHTML='Despeja do';}
    if (translatedesc=='mostly clear') { document.getElementById("desc").innerHTML='Mayorme nte despejado';}
    if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Parcial mente despejado'; }
    if (translatedesc=='hazy') { document.getElementById("desc").innerHTML='Bruma'; }
    if (translatedesc=='partly cloudy with showers') { document.getElementById("desc").innerHTML='Parcial mente nublado con chubascos';}
    if (translatedesc=='mostly cloudy with showers') { document.getElementById("desc").innerHTML='Mayorme nte nublado con chubascos'; }
    if (translatedesc=='party cloudy with thunder showers') { document.getElementById("desc").innerHTML='Parcial mente nublado con tormentas de chubascos'; }
    if (translatedesc=='foggy') { document.getElementById("desc").innerHTML='Neblina '; }
    if (translatedesc=='light snow') { document.getElementById("desc").innerHTML='Nieve ligera'; }
    if (translatedesc=='light snow showers') { document.getElementById("desc").innerHTML='Ligeras precipitaciones de nieve'; }
    if (translatedesc=='rain shower') { document.getElementById("desc").innerHTML='Precipi taciones de lluvia'; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Bruma'; }
    if (translatedesc=='mixed rain and sleet') { document.getElementById("desc").innerHTML='Mezcla de lluvia y aguanieve'; }
    if (translatedesc=='mixed snow and sleet') { document.getElementById("desc").innerHTML='Mezcla de nieve y aguanieve'; }
    if (translatedesc=='severe thunderstorms') { document.getElementById("desc").innerHTML='Torment as electricas severas'; }
    if (translatedesc=='hurricane') { document.getElementById("desc").innerHTML='Huracan '; }
    if (translatedesc=='tropical storm') { document.getElementById("desc").innerHTML='Torment a tropical'; }
    if (translatedesc=='tornado') { document.getElementById("desc").innerHTML='Tornado ';}
    if (translatedesc=='freezing drizzle') { document.getElementById("desc").innerHTML='Llovizn a helada'; }
    if (translatedesc=='blowing snow') { document.getElementById("desc").innerHTML='Viento y nieve'; }
    if (translatedesc=='hail') { document.getElementById("desc").innerHTML='Granizo '; }
    if (translatedesc=='dust') { document.getElementById("desc").innerHTML='Polvare da';}
    if (translatedesc=='somky') { document.getElementById("desc").innerHTML='Humeado '; }
    if (translatedesc=='blustery') { document.getElementById("desc").innerHTML='Tempest uoso'; }
    if (translatedesc=='mixed rain and hail') { document.getElementById("desc").innerHTML='Mezcla de lluvia y granizo'; }
    if (translatedesc=='isolated thunderstorms') { document.getElementById("desc").innerHTML='Torment as electricas aisladas'; }
    if (translatedesc=='isolated thundershowers') { document.getElementById("desc").innerHTML='Torment as aisladas'; }
    if (translatedesc=='scattered thunderstorms') { document.getElementById("desc").innerHTML='Torment as electricas dispersas'; }
    if (translatedesc=='scattered showers') { document.getElementById("desc").innerHTML='Chubasc os dispersos'; }
    if (translatedesc=='scattered snow showers') { document.getElementById("desc").innerHTML='Precipi taciones de nieve dispersas'; }
    if (translatedesc=='light rain with thunder') { document.getElementById("desc").innerHTML='LLuvia y tormenta ligera'; }
    if (translatedesc=='not available') { document.getElementById("desc").innerHTML='No disponible'; }
    if (translatedesc=='drifting snow/windy') { document.getElementById("desc").innerHTML='Acumula cion de nieve y viento'; }
    if (translatedesc=='light rain shower') { document.getElementById("desc").innerHTML='Precipi taciones de lluvia ligera'; }
    if (translatedesc=='thunder') { document.getElementById("desc").innerHTML='Truenos '; }
    if (translatedesc=='mostly cloudy/windy') { document.getElementById("desc").innerHTML='Mayorme nte nublado y ventoso'; }
    if (translatedesc=='sandstorm') { document.getElementById("desc").innerHTML='Torment as de arena'; }
    if (translatedesc=='squalls/windy') { document.getElementById("desc").innerHTML='Chubasc os y viento'; }
    if (translatedesc=='sand') { document.getElementById("desc").innerHTML='Arena'; }
    if (translatedesc=='sandstorm/windy') { document.getElementById("desc").innerHTML='Torment as de arena y ventoso'; }
    break;
    case "it":
    translatedesc=obj.description.toLowerCase();
    if (translatedesc=='sunny') { document.getElementById("desc").innerHTML='Soleggi ato'; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Piogger ella'; }
    if (translatedesc=='heavy snow') { document.getElementById("desc").innerHTML='Forti nevicate'; }
    if (translatedesc=='heavy rain') { document.getElementById("desc").innerHTML='Forti piogge'; }
    if (translatedesc=='rain and snow') { document.getElementById("desc").innerHTML='Vevisch io'; }
    if (translatedesc=='mixed rain and snow') { document.getElementById("desc").innerHTML='Misto pioggia e neve'; }
    if (translatedesc=='fair') { document.getElementById("desc").innerHTML='Sereno' ; }
    if (translatedesc=='mostly sunny') { document.getElementById("desc").innerHTML='Molto soleggiato'; }
    if (translatedesc=='partly sunny') { document.getElementById("desc").innerHTML='Parzial mente soleggiato'; }
    if (translatedesc=='intermittent clouds') { document.getElementById("desc").innerHTML='Nuvolos o a tratti'; }
    if (translatedesc=='hazy sunshine') { document.getElementById("desc").innerHTML='Sole coperto'; }
    if (translatedesc=='haze') { document.getElementById("desc").innerHTML='Nebbia' ; }
    if (translatedesc=='mostly cloudy') { document.getElementById("desc").innerHTML='Molto nuvoloso'; }
    if (translatedesc=='cloudy') { document.getElementById("desc").innerHTML='Nuvolos o';}
    if (translatedesc=='fog') { document.getElementById("desc").innerHTML='Nebbia' ; }
    if (translatedesc=='showers') { document.getElementById("desc").innerHTML='Diluvio ';}
    if (translatedesc=='partly sunny with showers') { document.getElementById("desc").innerHTML='Soleggi ato con pioggia'; }
    if (translatedesc=='thunderstorms') { document.getElementById("desc").innerHTML='Fulmini '; }
    if (translatedesc=='thunderstorm') { document.getElementById("desc").innerHTML='Tuoni'; }
    if (translatedesc=='mostly cloudy with thunder showers') { document.getElementById("desc").innerHTML='Molto Nuvoloso con pioggia e fulmini'; }
    if (translatedesc=='partly sunny with thunder showers') { document.getElementById("desc").innerHTML='Possibi li Piogge'; }
    if (translatedesc=='light rain') { document.getElementById("desc").innerHTML='Pioggia leggera'; }
    if (translatedesc=='rain') { document.getElementById("desc").innerHTML='Pioggia '; }
    if (translatedesc=='flurries') { document.getElementById("desc").innerHTML='Nevisch io'; }
    if (translatedesc=='mostly cloudy with flurries') { document.getElementById("desc").innerHTML='Nuvolos o con nevischio'; }
    if (translatedesc=='partly sunny with flurries') { document.getElementById("desc").innerHTML='Parzial mente soleggiato con neve'; }
    if (translatedesc=='snow flurries') { document.getElementById("desc").innerHTML='Raffich e di neve'; }
    if (translatedesc=='snow showers') { document.getElementById("desc").innerHTML='Precipi tazioni nevose'; }
    if (translatedesc=='snow') { document.getElementById("desc").innerHTML='Neve'; }
    if (translatedesc=='mostly cloudy with snow') { document.getElementById("desc").innerHTML='Molto nuvoloso con neve';}
    if (translatedesc=='ice') { document.getElementById("desc").innerHTML='Ghiacci o';}
    if (translatedesc=='sleet') { document.getElementById("desc").innerHTML='Nevisch io';}
    if (translatedesc=='freezing rain') { document.getElementById("desc").innerHTML='Grandin e'; }
    if (translatedesc=='rain and snow mixed') { document.getElementById("desc").innerHTML='Pioggia e neve'; }
    if (translatedesc=='hot') { document.getElementById("desc").innerHTML='Caldo'; }
    if (translatedesc=='cold') { document.getElementById("desc").innerHTML='Freddo' ; }
    if (translatedesc=='windy') { document.getElementById("desc").innerHTML='Ventoso '; }
    if (translatedesc=='clear') { document.getElementById("desc").innerHTML='Sereno' ; }
    if (translatedesc=='mostly clear') { document.getElementById("desc").innerHTML='Molto sereno';}
    if (translatedesc=='partly cloudy') { document.getElementById("desc").innerHTML='Parzial mente nuvoloso'; }
    if (translatedesc=='hazy') { document.getElementById("desc").innerHTML='Velato' ; }
    if (translatedesc=='partly cloudy with showers') { document.getElementById("desc").innerHTML='Cielo velato';}
    if (translatedesc=='mostly cloudy with showers') { document.getElementById("desc").innerHTML='Nuvolos o a tratti'; }
    if (translatedesc=='party cloudy with thunder showers') { document.getElementById("desc").innerHTML='Parzial mente nuvoloso con raffiche'; }
    if (translatedesc=='foggy') { document.getElementById("desc").innerHTML='Nebbiol ina'; }
    if (translatedesc=='light snow') { document.getElementById("desc").innerHTML='Neve leggiera'; }
    if (translatedesc=='light snow showers') { document.getElementById("desc").innerHTML='Poca neve'; }
    if (translatedesc=='rain shower') { document.getElementById("desc").innerHTML='Forti precipitazioni'; }
    if (translatedesc=='drizzle') { document.getElementById("desc").innerHTML='Freddin o'; }
    if (translatedesc=='mixed rain and sleet') { document.getElementById("desc").innerHTML='Misto pioggia e nevischio'; }
    if (translatedesc=='mixed snow and sleet') { document.getElementById("desc").innerHTML='Misto neve e nevischio'; }
    if (translatedesc=='severe thunderstorms') { document.getElementById("desc").innerHTML='Tuoni e fulmini'; }
    if (translatedesc=='hurricane') { document.getElementById("desc").innerHTML='Uragano '; }
    if (translatedesc=='tropical storm') { document.getElementById("desc").innerHTML='Tempest a tropicale'; }
    if (translatedesc=='tornado') { document.getElementById("desc").innerHTML='Tornado ';}
    if (translatedesc=='freezing drizzle') { document.getElementById("desc").innerHTML='Grandin e'; }
    if (translatedesc=='blowing snow') { document.getElementById("desc").innerHTML='Vento e neve'; }
    if (translatedesc=='hail') { document.getElementById("desc").innerHTML='Grandin e'; }
    if (translatedesc=='dust') { document.getElementById("desc").innerHTML='Polvere ';}
    if (translatedesc=='somky') { document.getElementById("desc").innerHTML='Humeado '; }
    if (translatedesc=='blustery') { document.getElementById("desc").innerHTML='Tempesa '; }
    if (translatedesc=='mixed rain and hail') { document.getElementById("desc").innerHTML='misto neve e grandine'; }
    if (translatedesc=='isolated thunderstorms') { document.getElementById("desc").innerHTML='Fulmini isolati'; }
    if (translatedesc=='isolated thundershowers') { document.getElementById("desc").innerHTML='Tempora li isolati'; }
    if (translatedesc=='scattered thunderstorms') { document.getElementById("desc").innerHTML='Tempest a di fulmini'; }
    if (translatedesc=='scattered showers') { document.getElementById("desc").innerHTML='Tempest a di pioggia'; }
    if (translatedesc=='scattered snow showers') { document.getElementById("desc").innerHTML='Neve sparsa'; }
    if (translatedesc=='light rain with thunder') { document.getElementById("desc").innerHTML='Pioggia leggera con fulmini'; }
    if (translatedesc=='not available') { document.getElementById("desc").innerHTML='No disponible'; }
    if (translatedesc=='drifting snow/windy') { document.getElementById("desc").innerHTML='Troppa neve';}
    if (translatedesc=='light rain shower') { document.getElementById("desc").innerHTML='Piccole precipitazioni'; }
    if (translatedesc=='thunder') { document.getElementById("desc").innerHTML='Tuoni'; }
    if (translatedesc=='mostly cloudy/windy') { document.getElementById("desc").innerHTML='Molto nuvoloso con vento'; }
    if (translatedesc=='sandstorm') { document.getElementById("desc").innerHTML='Torment a'; }
    if (translatedesc=='squalls/windy') { document.getElementById("desc").innerHTML='Pioggia e vento'; }
    if (translatedesc=='sand') { document.getElementById("desc").innerHTML='Arena'; }
    if (translatedesc=='sandstorm/windy') { document.getElementById("desc").innerHTML='Torment a ventosa'; }
    break;
    default:
    document.getElementById("desc").innerHTML=obj.desc ription;
    break;
    }

    // WEATHER CONDITION
    document.getElementById("weathericon").src="Weathe rIconsDB/" + obj.icon +".png";
    document.getElementById("Day1").innerHTML=Forecast DayNames(obj.Day1);
    document.getElementById("Day1Icon").src="Icon Sets/"+obj.Day1Code+".png";
    document.getElementById("Day1HiLo").innerHTML=obj. Day1Lo+ "\u00B0" + tempUnit.toUpperCase() +"/ "+obj.Day1Hi+ "\u00B0" + tempUnit.toUpperCase();
    document.getElementById("Day2").innerHTML=Forecast DayNames(obj.Day2);
    document.getElementById("Day2Icon").src="Icon Sets/"+obj.Day2Code+".png";
    document.getElementById("Day2HiLo").innerHTML=obj. Day2Lo+ "\u00B0" + tempUnit.toUpperCase()+ "/ "+obj.Day2Hi+ "\u00B0" + tempUnit.toUpperCase();
    document.getElementById("Day3").innerHTML=Forecast DayNames(obj.Day3);
    document.getElementById("Day3Icon").src="Icon Sets/"+obj.Day3Code+".png";
    document.getElementById("Day3HiLo").innerHTML=obj. Day3Lo+ "\u00B0" + tempUnit.toUpperCase()+ "/ "+obj.Day3Hi+ "\u00B0" + tempUnit.toUpperCase();
    document.getElementById("Day4").innerHTML=Forecast DayNames(obj.Day4);
    document.getElementById("Day4Icon").src="Icon Sets/"+obj.Day4Code+".png";
    document.getElementById("Day4HiLo").innerHTML=obj. Day4Lo+ "\u00B0" + tempUnit.toUpperCase()+ "/ "+obj.Day4Hi+ "\u00B0" + tempUnit.toUpperCase();
    }
    else
    {
    document.getElementById("city").innerHTML = "Internet ?!";
    }
    }

    function findChild (element, nodeName) {
    var child;
    for (child = element.firstChild; child != null; child = child.nextSibling)
    {
    if (child.nodeName == nodeName)
    return child;
    }
    return null;
    }

    function convertWoeid () {
    var url = "http://weather.yahooapis.com/forecastrss?w="+postal+"&u=f";
    $.get(url, function(data) {
    zip = $(data).find('guid').text().split('_')[0];
    weatherRefresherTemp(zip);
    });
    }

    // Get data with woeid (no GPS)
    function fetchWeatherData (callback, zip) {
    var url="http://xml.weather.yahoo.com/forecastrss/" + zip + "_" + tempUnit + ".xml";
    var xml_request = new XMLHttpRequest();
    var requestTimer = setTimeout(function() {
    xml_request.abort();
    if (xmldata == false) { callback ({error:true}); } else {
    document.getElementById("coordinates").style.color = "red";
    document.getElementById("coordinates").innerHTML = "[Offline]"; }
    }, 10000);
    xml_request.onload = function(e) {
    clearTimeout(requestTimer);
    xml_loaded(e, xml_request, callback);
    }
    xml_request.overrideMimeType("text/xml");
    xml_request.open("GET", url);
    xml_request.setRequestHeader("Cache-Control", "no-cache");
    xml_request.send(null);
    return xml_request;
    }

    function xml_loaded (event, request, callback) {
    if (request.responseXML)
    {
    var obj = {error:false, errorString:null};
    xmldata = true;
    var effectiveRoot = findChild(findChild(request.responseXML, "rss"), "channel");
    if (gps == false) {
    if (city == "") { obj.city = findChild(effectiveRoot, "yweather:location").getAttribute("city"); }
    else { obj.city = city }
    } else { obj.city = city; }
    obj.humidity = findChild(effectiveRoot, "yweather:atmosphere").getAttribute("humidity" );
    obj.windunit = findChild(effectiveRoot, "yweather:units").getAttribute("speed");
    obj.winddir = findChild(effectiveRoot, "yweather:wind").getAttribute("direction");
    obj.windspeed = findChild(effectiveRoot, "yweather:wind").getAttribute("speed");
    obj.visibility = findChild(effectiveRoot, "yweather:atmosphere").getAttribute("visibilit y");
    obj.visibilityunit = findChild(effectiveRoot, "yweather:units").getAttribute("distance");
    obj.sunrise = findChild(effectiveRoot, "yweather:astronomy").getAttribute("sunrise");
    obj.sunset = findChild(effectiveRoot, "yweather:astronomy").getAttribute("sunset");
    obj.chill = findChild(effectiveRoot, "yweather:wind").getAttribute("chill");
    obj.realFeel = findChild(effectiveRoot, "yweather:wind").getAttribute("chill");
    var conditionTag = findChild(findChild(effectiveRoot, "item"), "yweather:condition");
    obj.temp = conditionTag.getAttribute("temp");
    obj.icon = conditionTag.getAttribute("code");
    obj.description = conditionTag.getAttribute("text");
    var forecast = findChild(findChild(effectiveRoot, "item"), "yweather:forecast");
    obj.todaylow = forecast.getAttribute("low");
    obj.todayhigh = forecast.getAttribute("high");
    if (obj.description == "Unknown") {
    obj.description = forecast.getAttribute("text");
    obj.icon = forecast.getAttribute("code");
    }
    if (obj.icon == 3200) obj.icon = 48;

    obj.Day1 = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("day");
    obj.Day1Hi = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("high");
    obj.Day1Lo = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("low");
    obj.Day1Code = request.responseXML.getElementsByTagName("forecast ")[1].getAttribute("code");

    obj.Day2 = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("day");
    obj.Day2Hi = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("high");
    obj.Day2Lo = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("low");
    obj.Day2Code = request.responseXML.getElementsByTagName("forecast ")[2].getAttribute("code");

    obj.Day3 = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("day");
    obj.Day3Hi = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("high");
    obj.Day3Lo = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("low");
    obj.Day3Code = request.responseXML.getElementsByTagName("forecast ")[3].getAttribute("code");

    obj.Day4 = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("day");
    obj.Day4Hi = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("high");
    obj.Day4Lo = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("low");
    obj.Day4Code = request.responseXML.getElementsByTagName("forecast ")[4].getAttribute("code");

    callback (obj);
    }
    else
    {
    callback ({error:true, errorString:"XML request failed. no responseXML"});
    }
    }
    Send the main.js file to my PM.
    IOS 7 - A KNEE JERK JAILBREAK RELEASE

  14. #24391
    Theme Modder besanford's Avatar
    Join Date
    Aug 2008
    Location
    South Cack.
    Posts
    1,223
    Thanks
    4,676
    Thanked 1,971 Times in 722 Posts

    I've lost my mail sound again. This sucks.

  15. #24392
    2k1
    2k1 is offline
    Sug Luv Super Moderator 2k1's Avatar
    Join Date
    Jan 2011
    Location
    Hammond Louisiana
    Posts
    34,057
    Thanks
    1,815
    Thanked 7,064 Times in 4,206 Posts

    Quote Originally Posted by besnfrd View Post
    I've lost my mail sound again. This sucks.
    Mine did that the other day. A respring fixed it

  16. #24393
    iPhone? More like MyPhone Laxu's Avatar
    Join Date
    Mar 2011
    Location
    Kathmandu, Nepal
    Posts
    198
    Thanks
    3,303
    Thanked 124 Times in 74 Posts

    Quote Originally Posted by stevesmacfix View Post
    Just wanted to say thanks for the update on this one and the e6 theming community! You guys have been making me stare at my iphone for hours!


    Man those icons r awesome. Please share with us too if ok. Especually the clock and ibooks. I know they have been inspired from other miui themes but love them a lot. can u share or link us. thanks

  17. #24394
    Green Apple
    Join Date
    Feb 2012
    Posts
    83
    Thanks
    11
    Thanked 36 Times in 25 Posts

    Quote Originally Posted by Lkkwus View Post
    Pure sexiness 😝 cc @max_pa1n 👍👊

    Please share this and the matching lockscreen

  18. #24395
    Livin the iPhone Life Simon76's Avatar
    Join Date
    Aug 2009
    Location
    Boston
    Posts
    2,557
    Thanks
    1,857
    Thanked 867 Times in 653 Posts

    can anyone help me how to theme the below screen,thanks





    elite 6 - a suit and tie affair-001.pngelite 6 - a suit and tie affair-002.png

  19. #24396
    Theme Modder besanford's Avatar
    Join Date
    Aug 2008
    Location
    South Cack.
    Posts
    1,223
    Thanks
    4,676
    Thanked 1,971 Times in 722 Posts

    Quote Originally Posted by 2k1 View Post
    Mine did that the other day. A respring fixed it
    I did that, didn't work. Tried a reboot-nope. Uninstall then reinstall-nope.

  20. #24397
    Theme Supporter TaJr12's Avatar
    Join Date
    Dec 2011
    Location
    New Jersey
    Posts
    1,065
    Thanks
    3,942
    Thanked 2,674 Times in 798 Posts

    Quote Originally Posted by Simon76 View Post
    can anyone help me how to theme the below screen,thanks





    Attachment 639757Attachment 639758
    Go to /var/mobile/library/cache and delete the files BardialerBardialer, bardialer_selected, barrecents, barrecents_selected, barVM, and barvm_selected then reapply theme in winterboard and respring. ImageUploadedByModMyi1369403374.846113.jpg


    Ohh and morning/afternoon/evening all
    Attached Images Attached Images
    Last edited by TaJr12; 05-24-2013 at 07:52 AM.

  21. The Following 8 Users Say Thank You to TaJr12 For This Useful Post:

    Alfroggy (05-24-2013), BoyBastos (05-24-2013), elilab (05-24-2013), EricB78 (05-24-2013), Hip5 (05-27-2013), nateD (05-24-2013), Simon76 (05-24-2013), yassgo (05-24-2013)

  22. #24398
    Livin the iPhone Life Simon76's Avatar
    Join Date
    Aug 2009
    Location
    Boston
    Posts
    2,557
    Thanks
    1,857
    Thanked 867 Times in 653 Posts

    Quote Originally Posted by TaJr12 View Post
    Go to /var/mobile/library/cache and delete the files BardialerBardialer, bardialer_selected, barrecents, barrecents_selected, barVM, and barvm_selected then reapply theme in winterboard and respring. Attachment 639765


    Ohh and morning/afternoon/evening all
    thanks bro

  23. #24399
    What's Jailbreak? kings_07's Avatar
    Join Date
    May 2013
    Location
    London
    Posts
    20
    Thanks
    5
    Thanked 10 Times in 7 Posts

    anyone got any white folder icons i can use?

  24. #24400
    CS6 Fanatic iskariotA's Avatar
    Join Date
    May 2011
    Location
    27°14'N i 67°08'W
    Posts
    1,443
    Thanks
    3,152
    Thanked 8,702 Times in 1,202 Posts

    Morning all


  25. The Following 4 Users Say Thank You to iskariotA For This Useful Post:

    chevymusclecar (05-24-2013), sethbossfan (05-24-2013), TaJr12 (05-24-2013), The Analyst (05-25-2013)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts