1. <Ian Nicoll/>'s Avatar
    Ii

    Hay Ian thanks again
    For another good update

    Also can u help me pls
    How can Make the small balloons move faster ?
    Becuz I'm going to put planes In it.

    Or how to put air crafts out of Exxos lock 5 1.1?

    I've truer every think I've moved an changed files but nothing
    If u could help that would be great
    Thanks again
    Ok, real quick, you will need to adjust these settings in every weather condition that has balloons, and if you plan to share you should do it for iph4 and iph5.

    I use "cloud.js in this example.

    The function called createBBalloon is for the small balloons and createABalloon is for the big balloons.
    In the Images/Weather/balloons/small_balloons folder, replace the balloon images with your images but keep the same name, image size & format (.png)
    Now look at the createBBalloon function: (see below.
    The two values in red controls the float speed, it is random, the first number is the slowest speed the random code can pick and the second number is the fastest speed it can pick.
    If you set both the same value, your objects will always float at the same speed, this isn't good if you have multiple objects on the screen at the same time.

    So, start be setting them both the same (say 50, 50), you are looking for the slowest speed you want them to fly, once you fine it, remember the value (lets say it is 20) now do the same again but this time you are looking for the fastest speed, lets say you like 5.
    So the values you end up with would be 5, 20.

    set these values the same in all other conditions that have the balloons.

    Code:
    function createBBalloon() {
        var small_balloonDiv = document.createElement("div");
        var image = document.createElement("img");
        image.src = "Images/Weather/balloons/small_balloons/balloon" + randomInteger(1, NUMBER_OF_SMALL_BALLOON__IMAGES) + ".png";
        small_balloonDiv.style.top = pixelValue(randomInteger(-20, 20));
        small_balloonDiv.style.left = pixelValue(randomInteger(-150, 0));
        small_balloonDiv.style.webkitAnimationName = "fade1, float1";
        var fadeAndfloatDuration = durationValue(randomFloat(140, 250));
        small_balloonDiv.style.webkitAnimationDuration = fadeAndfloatDuration + ", " + fadeAndfloatDuration;
        small_balloonDiv.appendChild(image);
        return small_balloonDiv;
    }


    =====================

    =====================

    Thanks to all for the hard work.

    I love the LS. The weather, of course, not at the moment!

    Just one Question, i've set the language to German, but the weather will be displayed in English.

    Any suggestions?

    Attachment 641375
    Translations will come soon.
    Last edited by <Ian Nicoll/>; 2013-06-02 at 03:52 PM.
    2013-06-02 03:49 PM
  2. Marty McFly's Avatar
    Ian - don't go to bed yet I'm writing you a PM that I would love to get your thoughts on - sending in a minute.
    2013-06-02 03:55 PM
  3. KarlDall's Avatar
    Translations will come soon.
    OK, but translation.js's already available!?

    2013-06-02 03:56 PM
  4. Marty McFly's Avatar
    2013-06-02 04:08 PM
  5. <Ian Nicoll/>'s Avatar
    Hey Ian, for the Yahoo side, are you using this code for the 'Feels Like' temp:

    http://modmyi.com/forums/iphone-4-4s...ml#post6879194

    ....or just the stock number provided in the feed?
    I'm using my version of your code, at least my version works, hmph... LOL...
    2013-06-02 04:12 PM
  6. Marty McFly's Avatar
    I'm using my version of your code, at least my version works, hmph... LOL...
    oooooo
    Here, I think this knife in my back belongs to you.

    j/k
    2013-06-02 04:17 PM
  7. <Ian Nicoll/>'s Avatar
    I dedicate my new signature to Dacal's cookie
    Last edited by <Ian Nicoll/>; 2013-06-02 at 04:25 PM.
    2013-06-02 04:21 PM
  8. xxupsxx's Avatar
    german Accu Weather

    break;
    case "ge":
    case 1: { return "Sonnig"; }
    case 2: { return "Meist Sonnig"; }
    case 3: { return "Teilweise Sonnig"; }
    case 4: { return "Wechselnd Bewölkt"; }
    case 5: { return "Sonnig mit Nebel"; }
    case 6: { return "Meist Bewölkt"; }
    case 7: { return "Bewölkt"; }
    case 8: { return "trübe"; }
    case 9: { return "N/A"; }
    case 10: { return "N/A"; }
    case 11: { return "Nebel"; }
    case 12: { return "Schauer"; }
    case 13: { return "Meist Bewölkt mit Regenschauern"; }
    case 14: { return "Teilweise Sonnig mit Regenschauern"; }
    case 15: { return "Gewitter"; }
    case 16: { return "Meist Bewölkt mit Gewittern"; }
    case 17: { return "Teilweise Sonnig mit Gewittern"; }
    case 18: { return "Regen"; }
    case 19: { return "Windstöße"; }
    case 20: { return "Meist Bewölkt mit Windstößen"; }
    case 21: { return "Teilweise Sonnig mit Windstößen"; }
    case 22: { return "Schnee"; }
    case 23: { return "Meist Bewölkt mit Schneefall"; }
    case 24: { return "gefrierend"; }
    case 25: { return "Schneeregen"; }
    case 26: { return "gefrierender Regen"; }
    case 27: { return "N/A"; }
    case 28: { return "N/A"; }
    case 29: { return "Regen und Schnee"; }
    case 30: { return "Heiss"; }
    case 31: { return "Kalt"; }
    case 32: { return "Windig"; }
    case 33: { return "Klar"; }
    case 34: { return "Überwiegend Klar"; }
    case 35: { return "Teilweise Bewölkt"; }
    case 36: { return "vereinzelt Bewölkt"; }
    case 37: { return "trüber Mondschein"; }
    case 38: { return "Meist Bewölkt"; }
    case 39: { return "Teilweise Bewölkt mit Regenschauern"; }
    case 40: { return "Meist Bewölkt mit Regenschauern"; }
    case 41: { return "Teilweise Bewölkt mit Gewittern"; }
    case 42: { return "Meist Bewölkt mit Gewittern"; }
    case 43: { return "Meist Bewölkt mit Windstößen"; }
    case 44: { return "Meist Bewölkt mit Schneefall"; }
    break;

    but they have also "Clouds and Sunny and heavy Rain , they are not listet ?
    2013-06-02 04:36 PM
  9. bliken's Avatar
    Awesome JOB Ian.......

    looks great...

    waiting now for Marty to get MAX's version for SB
    2013-06-02 04:39 PM
  10. <Ian Nicoll/>'s Avatar
    german Accu Weather

    break;
    case "ge":
    case 1: { return "Sonnig"; }
    case 2: { return "Meist Sonnig"; }
    case 3: { return "Teilweise Sonnig"; }
    case 4: { return "Wechselnd Bewölkt"; }
    case 5: { return "Sonnig mit Nebel"; }
    case 6: { return "Meist Bewölkt"; }
    case 7: { return "Bewölkt"; }
    case 8: { return "trübe"; }
    case 9: { return "N/A"; }
    case 10: { return "N/A"; }
    case 11: { return "Nebel"; }
    case 12: { return "Schauer"; }
    case 13: { return "Meist Bewölkt mit Regenschauern"; }
    case 14: { return "Teilweise Sonnig mit Regenschauern"; }
    case 15: { return "Gewitter"; }
    case 16: { return "Meist Bewölkt mit Gewittern"; }
    case 17: { return "Teilweise Sonnig mit Gewittern"; }
    case 18: { return "Regen"; }
    case 19: { return "Windstöße"; }
    case 20: { return "Meist Bewölkt mit Windstößen"; }
    case 21: { return "Teilweise Sonnig mit Windstößen"; }
    case 22: { return "Schnee"; }
    case 23: { return "Meist Bewölkt mit Schneefall"; }
    case 24: { return "gefrierend"; }
    case 25: { return "Schneeregen"; }
    case 26: { return "gefrierender Regen"; }
    case 27: { return "N/A"; }
    case 28: { return "N/A"; }
    case 29: { return "Regen und Schnee"; }
    case 30: { return "Heiss"; }
    case 31: { return "Kalt"; }
    case 32: { return "Windig"; }
    case 33: { return "Klar"; }
    case 34: { return "Überwiegend Klar"; }
    case 35: { return "Teilweise Bewölkt"; }
    case 36: { return "vereinzelt Bewölkt"; }
    case 37: { return "trüber Mondschein"; }
    case 38: { return "Meist Bewölkt"; }
    case 39: { return "Teilweise Bewölkt mit Regenschauern"; }
    case 40: { return "Meist Bewölkt mit Regenschauern"; }
    case 41: { return "Teilweise Bewölkt mit Gewittern"; }
    case 42: { return "Meist Bewölkt mit Gewittern"; }
    case 43: { return "Meist Bewölkt mit Windstößen"; }
    case 44: { return "Meist Bewölkt mit Schneefall"; }
    break;

    but they have also "Clouds and Sunny and heavy Rain , they are not listet ?
    Thanks, this is what we need for all the other languages too.
    Yes, this is maybe a temporary solution as we don't know all the weather descriptions yet from Accuweather, we just have to keep an eye on it and log them! It will take a while M8, Accuweather is still very new to us, well at least the new AccuWeather, it use to be used in Widgets years ago but much has changed!
    Last edited by <Ian Nicoll/>; 2013-06-02 at 04:46 PM.
    2013-06-02 04:43 PM
  11. Best01's Avatar
    Ian or Decal,
    I'm running this as a SB widget and want to have times walls. Is there a setting in set up that I can turn on the timed walls. When I do it on the cookie pop up it doesn't work when I respring. Tia
    2013-06-02 04:52 PM
  12. <Ian Nicoll/>'s Avatar
    Ian or Decal,
    I'm running this as a SB widget and want to have times walls. Is there a setting in set up that I can turn on the timed walls. When I do it on the cookie pop up it doesn't work when I respring. Tia
    You're moving too fast M8! this is beta, SB versions with full options will follow soon.

    If I or Dacal post a "how to" on this, everybody will have SB versions of a beta that has only been released for a few hours LOL..

    Please give it a couple of days till we see what bugs pop up.
    Last edited by <Ian Nicoll/>; 2013-06-02 at 05:46 PM.
    2013-06-02 05:02 PM
  13. Werty12's Avatar
    You're moving too fast M8! this is beta, SB versions with full options will follow soon.

    If I or Dacal post a "how to" on this, everybody will have SB versions of a beta that has only been released for an hour LOL..

    Please give it a couple of days till we see what bugs pop up.
    Yep. That's what I'm waiting for.
    2013-06-02 05:17 PM
  14. nik1975's Avatar
    Thanks Ian for this new mod,one question only:How we choose between Accu or yahoo ?
    2013-06-02 05:21 PM
  15. bliken's Avatar
    it is in the config.js which is in the setup folder

    Thanks Ian for this new mod,one question only:How we choose between Accu or yahoo ?
    2013-06-02 05:25 PM
  16. Best01's Avatar
    You're moving too fast M8! this is beta, SB versions with full options will follow soon.

    If I or Dacal post a "how to" on this, everybody will have SB versions of a beta that has only been released for an hour LOL..

    Please give it a couple of days till we see what bugs pop up.
    Lol I guess I'm a little anxious to get it going. Im using the first 6.3 that was posted, is the new one that much different or is it just a option of yahoo and accuweather. I added the windmill and dandelion to certain conditions and don't want to do it again for the newest update if its not that different. Thank you and Decal for the hard work.
    2013-06-02 05:27 PM
  17. nik1975's Avatar
    it is in the config.js which is in the setup folder
    Yeah find it

    Ok this is the situation in my city!The 1st is yahoo the other Accuweather!!ImageUploadedByModMyi1370183688.314131.jpgImageUploadedByModMyi1370183700.034778.jpg
    So the big question!Tommorow should i take umbrella or not?????
    I think that in my area Accuweather is more accurate than yahoo
    Last edited by nik1975; 2013-06-02 at 05:36 PM.
    2013-06-02 05:32 PM
  18. chevymusclecar's Avatar
    Thanks, this is what we need for all the other languages too.
    Yes, this is maybe a temporary solution as we don't know all the weather descriptions yet from Accuweather, we just have to keep an eye on it and log them! It will take a while M8, Accuweather is still very new to us, well at least the new AccuWeather, it use to be used in Widgets years ago but much has changed!
    At least the translations are seperate js so should be easy just to update that for language
    2013-06-02 05:39 PM
  19. <Ian Nicoll/>'s Avatar
    it is in the config.js which is in the setup folder
    Nope, it use to be their.

    It's now just in the main theme's folder, and there is little information on each setting, I took it all out for easier navigation in iFile.
    There is another Config.js file in a folder called "Config.js file with full explanations", this file IS NOT BEING USED by the widget, I put it here only for reference for newer users as it has all the full instructions on each setting, so if you don't know what all the settings are in the Config.js file please just have a read of this other file, it also has full instructions on obtaining your correct AccuWeather code.
    Last edited by <Ian Nicoll/>; 2013-06-02 at 06:20 PM.
    2013-06-02 05:54 PM
LINK TO POST COPIED TO CLIPBOARD