User Tag List

  1. <Ian Nicoll/>'s Avatar
    Thanks so much for help Ian. I had to unload BUUF iWidgets pack from Cydia. Must a been some conflict. Weird!

    Attachment 722502
    If you want:
    Go into the css file, look for #city, delete the line colour: red;, & respring, then it will only go red when your offline.
    Link updated.
    Last edited by <Ian Nicoll/>; 2016-02-19 at 06:21 PM.
    2016-02-19 06:19 PM
  2. Marty McFly's Avatar
    (tut tut Marty )
    Haha - you know me better then that! Not my doing bro. Looks like this widget has been through many hands since I released it.

    Here is the original...

    Buuf iWidget WW Fixed
    2016-02-19 07:06 PM
  3. Mike2130's Avatar
    Haha - you know me better then that! Not my doing bro. Looks like this widget has been through many hands since I released it.

    Here is the original...

    Buuf iWidget WW Fixed
    All good Marty. Forgot to thank you for widget. So thanks.
    2016-02-19 07:10 PM
  4. Sazzat's Avatar
    to Ian,

    Please help me. how can I add a overlay on uniaw7.1 LS???
    2016-02-19 07:22 PM
  5. lostinthemes's Avatar
    @ClemClone


    I posted the links for both in that thread, but you have to edit your main.js too, .png to .gif…


    document.getElementById("Day0Icon").src = "Icon Sets/"+iconSetForCurrentCondition+"/"+AdjustIcon(obj.code[0], where)+".gif";
    $("#Day0Lo").html(lowtext + '<span style= color:' + tempColor(obj.low[0]) + ';>' + obj.low[0] + tempUnit_HiLo + '</span>');
    $("#Day0Hi").html(hightext + '<span style= color:' + tempColor(obj.high[0]) + ';>' + obj.high[0] + tempUnit_HiLo + '</span>');


    If you want to use them as Day0Icon, another thing you have to edit is your config.js

    /* CLOCK AND LAYOUT OPTIONS */
    var ClockType = "analog"; // analog, digital or none.
    var Clock_Logo = false; // true or false to display UniAW logo on clocks.
    var ShowSecondhand = false; // show second hand in analog clock.
    var ShowSecondsLightRing = false; // only works if superLiteMode = false, animated colored ring effect around clockfaces.
    var Seconds_LightRing_Color = ""; // leave blank for day/night font colors, use any Hex color code, or any compatible color name (see included pdf file).

    var ShowDate = false; // true to display the current date on clock face.
    var ShowYear = false; // true to show the year on clock face (ShowDate must be set to true).
    var OptionalClockCalendar = false; // reverse month & day on the analog/digital clock.
    var SecDisplay = true; // only works if superLiteMode = false & only for digital Clock.
    var ShowCurrentConditionIcon = true; // show icon for current weather along with animations.



    Day0Icon is attached to the clock, I dont know why, you cant use them seperately…
    2016-02-19 09:08 PM
  6. <Ian Nicoll/>'s Avatar
    to Ian,

    Please help me. how can I add a overlay on uniaw7.1 LS???
    I won't be home for hours & hours yet, but it's very easy, put your image in the images folder (or wherever you like), add the image id & source in HTML files (there is already ones their you can copy & just change name), then add the CSS settings with a z-index one below the touch areas.

    If you're stuck, post the overlay here & I'll give you exact code later.
    2016-02-20 06:01 AM
  7. <Ian Nicoll/>'s Avatar
    @ClemClone


    I posted the links for both in that thread, but you have to edit your main.js too, .png to .............
    What's this all about then?
    2016-02-20 06:03 AM
  8. King_O_Hill's Avatar
    There is a thread with some weather gif files for download.

    Check out WW3 for iOS 9/10 - Widget-Weather 3.0
    2016-02-20 12:18 PM
  9. dubailive's Avatar
    WW2 dubs iWidget Essenza 14

    Credit : Ian Nicoll, WW2 Team, Marty McFly. Thanking Ian to modify the WW2 Base Script



    Edit:
    Have incorporated all changes in main.js as instructed by Ian.

    Download
    Last edited by dubailive; 2016-02-21 at 07:50 AM. Reason: Have incorporated all changes in main.js as instructed by Ian
    If you chase two rabbits, you will lose them both
    www.dubailive.space
    2016-02-20 03:16 PM
  10. <Ian Nicoll/>'s Avatar
    Hey dubalive, I see you're getting the hang of that date string now.
    2016-02-20 03:50 PM
  11. dubailive's Avatar
    Hey dubalive, I see you're getting the hang of that date string now.
    Yessir!!! Thankyou, Love it, please can you verify I used the code correctly? when u r free
    https://www.dropbox.com/s/rif51v5zrp...20feb.zip?dl=0
    If you chase two rabbits, you will lose them both
    www.dubailive.space
    2016-02-20 03:51 PM
  12. laMe's Avatar
    There is a thread with some weather gif files for download.
    Oooooo where does this thread exist? I looked. Would love to use some .gifs!
    2016-02-20 05:57 PM
  13. King_O_Hill's Avatar
    2016-02-20 06:07 PM
  14. <Ian Nicoll/>'s Avatar
    Yessir!!! Thankyou, Love it, please can you verify I used the code correctly? when u r free
    https://www.dropbox.com/s/rif51v5zrp...20feb.zip?dl=0
    Well kinda, I mean what you did works but it's a bit weird.
    In the last widget I used all the span & tempColor(obj.temp) code to make the temperature & weatherdesc change colour depending on how hot it was, the colour is determined in the tempColor function.

    Now, you obviously didn't want it to change colour so you changed all the colours in the tempColor function to show all the same colour, that's the weird part, because all you had to do was remove all the span and tempColor(obj.temp) code from it.

    So instead of this (what you have):

    document.getElementById("temp").innerHTML = '<span style= color:' + tempColor(obj.temp) + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in " + " " + cityname + "," + " It's " + " " + '<span style= color:' + tempColor(obj.temp) + ';>' + tempValue + tempUnit;


    You could have left the tempColor function untouched (with its original colours) and used this:

    document.getElementById("temp").innerHTML = WeatherDesc[obj.code[0]] + " in" + " " + cityname + "," + " It's" + " " + tempValue + tempUnit;


    Notice all I did was remove all the colour stuff from your code:

    document.getElementById("temp").innerHTML = '<span style= color:' + tempColor(obj.temp) + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in" + " " + cityname + "," + " It's " +" " + '<span style= color:' + tempColor(obj.temp) + ';>' + tempValue + tempUnit;


    Understand?
    2016-02-20 06:30 PM
  15. dubailive's Avatar
    Well kinda, I mean what you did works but it's a bit weird.
    In the last widget I used all the span & tempColor(obj.temp) code to make the temperature & weatherdesc change colour depending on how hot it was, the colour is determined in the tempColor function.

    Now, you obviously didn't want it to change colour so you changed all the colours in the tempColor function to show all the same colour, that's the weird part, because all you had to do was remove all the span and tempColor(obj.temp) code from it.

    So instead of this (what you have):

    document.getElementById("temp").innerHTML = '<span style= color:' + tempColor(obj.temp) + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in " + " " + cityname + "," + " It's " + " " + '<span style= color:' + tempColor(obj.temp) + ';>' + tempValue + tempUnit;


    You could have left the tempColor function untouched (with its original colours) and used this:

    document.getElementById("temp").innerHTML = WeatherDesc[obj.code[0]] + " in" + " " + cityname + "," + " It's" + " " + tempValue + tempUnit;


    Notice all I did was remove all the colour stuff from your code:

    document.getElementById("temp").innerHTML = '<span style= color:' + tempColor(obj.temp) + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in" + " " + cityname + "," + " It's " +" " + '<span style= color:' + tempColor(obj.temp) + ';>' + tempValue + tempUnit;


    Understand?
    Yes loud and clear UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7 Thankyou UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7
    If you chase two rabbits, you will lose them both
    www.dubailive.space
    2016-02-20 06:33 PM
  16. <Ian Nicoll/>'s Avatar
    Yes loud and clear UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7 Thankyou UniAW7UniAW7UniAW7UniAW7UniAW7UniAW7
    For the future, you can use any colour you want to make the temp or description stand out:

    document.getElementById("temp").innerHTML = '<span style= color:' + "Lime" + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in " + " " + cityname + "," + " It's " + " " + '<span style= color:' + "Aqua" + ';>' + tempValue + tempUnit + '</span>';

    You can also use hex colours like "#ff0000"

    Have fun!
    Last edited by <Ian Nicoll/>; 2016-02-20 at 06:54 PM.
    2016-02-20 06:44 PM
  17. dubailive's Avatar
    For the future, you can use any colour you want to make the temp or description stand out:

    document.getElementById("temp").innerHTML = '<span style= color:' + "Lime" + ';>' + WeatherDesc[obj.code[0]] + '</span>' + " in " + " " + cityname + "," + " It's " + " " + '<span style= color:' + "Aqua" + ';>' + tempValue + tempUnit + '</span>';

    You can also use hex colours like "#ff0000"

    Have fun!
    Sure!!! very helpful, I am learning a lot here !!!
    If you chase two rabbits, you will lose them both
    www.dubailive.space
    2016-02-20 07:00 PM
  18. MrDLewis321's Avatar
    Please can u share iconomatic or tell me were I got it.
    2016-02-20 07:08 PM
  19. <Ian Nicoll/>'s Avatar
    Sure!!! very helpful, I am learning a lot here !!!
    Here is one that will change the colour and size of the temperature:

    document.getElementById("temp").innerHTML = WeatherDesc[obj.code[0]] + " in" + " " + cityname + "," + " It's" + " " + '<span style="font-size: 7vw; color: Aqua;' + '";>' + tempValue + tempUnit + '</span>';
    2016-02-20 07:12 PM
  20. mohseen488's Avatar
    Hiya Ian bro,

    can you port this with UniAW7.1 for ip6s plus? or anyone else?

    AfghanCalendar
    If you like my Post please hit the Thanks button on the bottom Left Corner.

    2016-02-21 04:36 AM
LINK TO POST COPIED TO CLIPBOARD