Because there are LL-users using Zooper for this. :-(

Originally shared by Jappie Toutenhoofd

Because there are LL-users using Zooper for this. 🙁

]]>

11 Commentsto Because there are LL-users using Zooper for this. :-(

  1. Anonymous says:

    < ![CDATA[

    var widget = LL.getEvent().getItem();



    var WKupdate = function()


    {


    var lbl = “”;


    var week = [“Sun”,”Mon”,”Tue”,”Wed”,”Thu”,”Fri”,”Sat”];


    var Dnow = new Date().getDay();



    for (var i=0; i<7; i++){


    if (i == Dnow) {lbl += ““;}


    lbl += week[i];


    if (i == Dnow) {lbl += ““;}


    if (i < = 6) {lbl += " "; }


    }



    widget.setLabel(lbl);



    // set the timer again


    widget.setTag(setTimeout(WKupdate, 60000));


    };



    // initiate the periodic update


    WKupdate();

    ]]>

  2. Anonymous says:

    < ![CDATA[

    Nice, but what about a binding? No script required! 😀




    var unused=$ll_day_name;


    var days=[“sund”,”mon”,”tue”,”wed”,”thu”,”fri”,”sat”];


    var now=new Date().getDay();


    days[now]=”“+days[now]+”“;


    return days.join(” “);

    ]]>

  3. Anonymous says:

    < ![CDATA[

    auch 😉

    ]]>

  4. Anonymous says:

    < ![CDATA[

    Edit: I edited the binding because as it was before it won’t update automatically. Now it will do!

    ]]>

  5. Anonymous says:

    < ![CDATA[

    TrianguloY wow

    ]]>

  6. Anonymous says:

    < ![CDATA[

    TrianguloY how was it before the update? What was the mistake?

    ]]>

  7. Anonymous says:

    < ![CDATA[

    I didn’t used the $ll_day_name lightning variable, so the binding will never be update automatically

    ]]>

  8. Anonymous says:

    < ![CDATA[

    If you don’t mind me asking, how would I go by implementing this binding?

    ]]>

  9. Anonymous says:

    < ![CDATA[

    Mauricio Alas create a text item


    And in bindings use Text > Label


    And set that :


    var unused=$ll_day_name;


    var days=[“Dim”,”Lun”,”Mar”,”Mer”,”Jeu”,”Ven”,”Sam”];


    var now=new Date().getDay();


    days[now]=”“+days[now]+”“;


    return days.join(” “);

    ]]>

  10. Anonymous says:

    < ![CDATA[

    Use days in your language


    And colour you want

    ]]>

  11. Anonymous says:

    < ![CDATA[

    Bruno-Isa LAMOUR-ARNOULD Ha! I implemented it and… Well, thank you for taking the time.

    ]]>

Leave a Reply

Your email address will not be published. Required fields are marked *