1. Kazuyoshi's Avatar
    @ian
    How to make the sun/moon img. Little smaller im the new iWidget?

    Attachment 633278
    you also have a look on the top/left value´s after resizing
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 12:22 PM
  2. roman3001's Avatar
    2013-04-19 12:25 PM
  3. Giaco's Avatar
    As Ian wrote goto UniAW6.js and find -->

    case "it":
    hi.innerHTML = "alto:";
    lo.innerHTML = "basso:";
    sunrisetext.innerHTML = "alba:";
    sunsettext.innerHTML = "tramonto:";
    ..
    ..
    ..
    document.getElementById("wind").innerHTML = "Vento : " + obj.winddir;
    } else {
    document.getElementById("wind").innerHTML = "Vento : " + obj.winddir + " | " + Math.round(obj.windspeed) + " " + obj.windunit; }
    break;

    everything from case"it" --> break belongs to your language case.
    Thx!!!
    2013-04-19 12:27 PM
  4. Kazuyoshi's Avatar
    You have to change..

    #balloonContainer > div {
    position: absolute;
    width: 300px;
    height: 200px;
    -webkit-animation-iteration-count: infinite, infinite;
    -webkit-animation-direction: normal, horizontal;
    -webkit-animation-timing-function: linear;
    }
    #balloonContainer > div > img {
    position: absolute;
    width: 200px;
    height: 133px;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: normal, horizontal;
    -webkit-animation-timing-function: linear;
    }

    in every .css weathercase where balloons are existent. But keep the aspect ratio (300x200 --> 150x100 --> 75x50 ... usw; 200x133 --> 100x66.6 --> 50x33.3 .. and so on [these value´s are only examples])
    Last edited by Kazuyoshi; 2013-04-19 at 12:32 PM.
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 12:29 PM
  5. Giaco's Avatar
    Regarding our first question 1, I don't know, maybe Dacal can tell you.

    2nd question: I already added a refresh button to the LS and it works but found it pretty pointless as the LS updates each time you open it, so removed the refresh button again, I couldn't get it to work on SB.

    3rd question, change the language yourself in the UniAW6.js file, I'm sure you can manage.



    This one is a question for Dacal M8.
    OK i will ask to Decal.
    Sorry I did not realize that LS updates each time i open it...

    THX Again...

    Only last Question,
    in config file there is a string called "sun_moon_arc"
    When i set true or false i can't see any difference with arc of moon and sun...:/
    Can you post a screen of the different trajectories?
    Last edited by Giaco; 2013-04-19 at 12:45 PM.
    2013-04-19 12:38 PM
  6. Kazuyoshi's Avatar
    OK i will ask to Decal.
    Sorry I did not realize that LS updates each time i open it...

    THX Again...

    Only last Question,
    in config file there is a string called "sun_moon_arc"
    When i set true or false i can't see any difference with arc of moon and sun...:/
    Can you post a screen of the different trajectories?
    sun_moon_arc = true --> Sun and moon movement describes a semicircular / circular path

    sun_moon_arc = false --> Sun and moon movement goes in a straight line from left to right

    the movement duration in Germany is about 14 hours today (06:14->20:12) so hard to see by watching for some sec/min
    Last edited by Kazuyoshi; 2013-04-19 at 01:04 PM.
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 12:55 PM
  7. <Ian Nicoll/>'s Avatar
    OK i will ask to Decal.
    Sorry I did not realize that LS updates each time i open it...

    THX Again...

    Only last Question,
    in config file there is a string called "sun_moon_arc"
    When i set true or false i can't see any difference with arc of moon and sun...:/
    Can you post a screen of the different trajectories?
    Best you set the time on your phone to about an hour after your sunrise time, or an hour before your sunset time, this will save me posting 20 screenshots.

    ImageUploadedByModMyi1366367136.767829.jpg
    And how to resize the baloon?
    If you add more hot air into it it will get bigger, if you let some air out it will get smaller.
    Last edited by <Ian Nicoll/>; 2013-04-19 at 12:58 PM.
    2013-04-19 12:56 PM
  8. Steph53940's Avatar
    I cant seem to edit the Autreinfo.js to get it in English. Can you help me with this?

    hello friend. exactly what do you translate? I ask marmoul we're on the same forum
    2013-04-19 12:58 PM
  9. Kazuyoshi's Avatar
    @ Ian .. where is the "var hot_air" variable in the config.js
    Last edited by Kazuyoshi; 2013-04-19 at 01:03 PM.
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 01:00 PM
  10. Steph53940's Avatar
    UniAW!! Long may it live on the phones of thousands!!

    hello friend, is there a chance that you partagier your sb? very sure please and if you want
    2013-04-19 01:00 PM
  11. VOLTAGExDT's Avatar
    Hi all,

    Iv's almost finished the iWidget version, got all the options in except the demo mode, but I will also put in the demo mode

    I'm just gonna test all options now but so far so good
    question I have for you bud.

    can options be made for individual info options.

    like I don't want this info but I do want that info.



    thanks again ian.
    2013-04-19 01:10 PM
  12. Giaco's Avatar
    sun_moon_arc = true --> Sun and moon movement describes a semicircular / circular path

    sun_moon_arc = false --> Sun and moon movement goes in a straight line from left to right

    the movement duration in Germany is about 14 hours today (06:14->20:12) so hard to see by watching for some sec/min
    When i set true, the sun seems to move always in a straight line...
    2013-04-19 01:17 PM
  13. Kazuyoshi's Avatar
    When i set true, the sun seems to move always in a straight line...
    the position of the "straight line"(sun_moon_arc=false) is always along the statusbar. The arc starts ~50px(estimated value) on leftside under the statusbar hits the statusbar (in germany ~13:00; 1pm) and ends ~50px(estimated value) rightside under the statusbar .. the hole runtime are ~ 14 hours
    Last edited by Kazuyoshi; 2013-04-19 at 01:23 PM.
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 01:21 PM
  14. Giaco's Avatar
    It's possible to change this value (~50px) to have a more pronounced arc?

    My time of Sunrise and Sunset are 6:16 and 19:45
    Last edited by Giaco; 2013-04-19 at 01:32 PM.
    2013-04-19 01:30 PM
  15. Kazuyoshi's Avatar
    If I am right .. Ian correct me if not .. it should be this value in UniAW6.js

    In my opinion the "70" could be the offset left/right --> so these are 70px.

    I would, for testing, increase the 70 -> to a higher value so see what happens.

    ----------------------------------------------------------------------------------------------

    // POSITION OF SUN/MOON

    if (sun_moon_arc === true) {

    if ((time_to_change_wall < dayhour) || (time_to_change_wall > nighthour)) {

    where = "night";
    if (time_to_change_wall < dayhour) { time_to_change_wall = time_to_change_wall +24 };
    if (Sun_Moon_from_right_to_left === true) {
    pRotate = parseInt((1-(time_to_change_wall - nighthour)/ DurationOfNight)*70);
    } else {
    pRotate = parseInt(((time_to_change_wall - nighthour)/ DurationOfNight)*70);}
    document.getElementById("arcmoon").style.webkitTra nsform = "rotate("+pRotate+"deg)";
    document.getElementById("arcmoonray").style.webkit Transform = "rotate("+pRotate+"deg)";

    if ((iPhoneType === "iph4") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph4/night.png";
    } else {
    if ((iPhoneType === "iph5") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph5/night.png";}
    }
    } else {

    where = "day";
    if (time_to_change_wall < dayhour) { time_to_change_wall = time_to_change_wall +24 };
    if (Sun_Moon_from_right_to_left === true) {
    pRotate = parseInt((1-(time_to_change_wall - nighthour)/ DurationOfNight)*70);
    } else {
    pRotate = parseInt(((time_to_change_wall - dayhour)/ DurationOfDay)*70);}
    document.getElementById("arcsun").style.webkitTran sform = "rotate("+pRotate+"deg)";
    document.getElementById("arcsunray").style.webkitT ransform = "rotate("+pRotate+"deg)";
    document.getElementById("arcsunray1").style.webkit Transform = "rotate("+pRotate+"deg)";

    if ((iPhoneType === "iph4") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph4/day.png";
    } else {
    if ((iPhoneType === "iph5") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph5/day.png";}
    }
    }
    } else {

    ----------------------------------------------------------------------------------------------
    Last edited by Kazuyoshi; 2013-04-19 at 01:58 PM.
    Matux is past ... Kazuyoshi is back (thx Simon )

    Dropbox
    : exxOS -- Shine --
    2013-04-19 01:43 PM
  16. joshlogic's Avatar
    I do not know if I am having a unique problem or not, but with the newest iWidget version the individual switches do not seem to making any actual changes to what appears in the springboard. I have tried various toggles and a respring but even changing from Celsius to Fahrenheit is not taking place. Anyone else running into this?
    2013-04-19 02:06 PM
  17. Giaco's Avatar
    Ok thx...
    2013-04-19 02:11 PM
  18. Marty McFly's Avatar
    what the hell ... you don´t like my bird´s :P
    Haha - Sorry matux. Never been a fan of Angry Birds - lol.
    2013-04-19 02:36 PM
  19. roman3001's Avatar
    2013-04-19 02:37 PM
  20. <Ian Nicoll/>'s Avatar
    If I am right .. Ian correct me if not .. it should be this value in UniAW6.js

    In my opinion the "70" could be the offset left/right --> so these are 70px.

    I would, for testing, increase the 70 -> to a higher value so see what happens.

    ----------------------------------------------------------------------------------------------

    // POSITION OF SUN/MOON

    if (sun_moon_arc === true) {

    if ((time_to_change_wall < dayhour) || (time_to_change_wall > nighthour)) {

    where = "night";
    if (time_to_change_wall < dayhour) { time_to_change_wall = time_to_change_wall +24 };
    if (Sun_Moon_from_right_to_left === true) {
    pRotate = parseInt((1-(time_to_change_wall - nighthour)/ DurationOfNight)*70);
    } else {
    pRotate = parseInt(((time_to_change_wall - nighthour)/ DurationOfNight)*70);}
    document.getElementById("arcmoon").style.webkitTra nsform = "rotate("+pRotate+"deg)";
    document.getElementById("arcmoonray").style.webkit Transform = "rotate("+pRotate+"deg)";

    if ((iPhoneType === "iph4") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph4/night.png";
    } else {
    if ((iPhoneType === "iph5") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph5/night.png";}
    }
    } else {

    where = "day";
    if (time_to_change_wall < dayhour) { time_to_change_wall = time_to_change_wall +24 };
    if (Sun_Moon_from_right_to_left === true) {
    pRotate = parseInt((1-(time_to_change_wall - nighthour)/ DurationOfNight)*70);
    } else {
    pRotate = parseInt(((time_to_change_wall - dayhour)/ DurationOfDay)*70);}
    document.getElementById("arcsun").style.webkitTran sform = "rotate("+pRotate+"deg)";
    document.getElementById("arcsunray").style.webkitT ransform = "rotate("+pRotate+"deg)";
    document.getElementById("arcsunray1").style.webkit Transform = "rotate("+pRotate+"deg)";

    if ((iPhoneType === "iph4") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph4/day.png";
    } else {
    if ((iPhoneType === "iph5") && (show_day_night_walls === true)) {
    document.getElementById("DayNightWalls").src="Imag es/day_night_iph5/day.png";}
    }
    }
    } else {

    ----------------------------------------------------------------------------------------------
    Good try but not accurate. I redid a special image for the rotation, I rotated this image from the center bottom -35º so this is the starting point (sunrise), so 0º would be back to the top and +35º would be Sunset.
    The 70 in the code is telling it to rotate the image 70º over the time between sunrise & sunset (or sunset/sunrise)

    To make it a bigger arc means you would need to make a new sun image with a new starting rotation point.

    God I hope you understand that cause it's not easy to explain, basically it's not an easy job and I ain't doin it.

    I do not know if I am having a unique problem or not, but with the newest iWidget version the individual switches do not seem to making any actual changes to what appears in the springboard. I have tried various toggles and a respring but even changing from Celsius to Fahrenheit is not taking place. Anyone else running into this?
    Works fine for me, but I don't test the iWidget on an i4 yet!

    EDIT:

    Just tested on iph4, no problems.
    Last edited by <Ian Nicoll/>; 2013-04-19 at 02:43 PM.
    2013-04-19 02:39 PM
LINK TO POST COPIED TO CLIPBOARD