Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter edwinwp

    (@edwinwp)

    Thank you for your reply Menno,

    I’m afraid this is way too hard for me to understand. I hope you find a way to enhance the plugin in near future.

    For the first question you’ll find the answer here.

    • This reply was modified 7 years, 1 month ago by edwinwp.
    Thread Starter edwinwp

    (@edwinwp)

    … unfortunately this only applies to the index page (first slide). No idea yet how to solve this.

    Thread Starter edwinwp

    (@edwinwp)

    Thanx Darnell, very versitile creative solution. In the mean while I was troubleshooting and found a independent solution that suits my needs. For those people having the same wish of displaying time on text type slides, continue reading (no warrenties here!).

    I took a standard message and added a Custom HTML block to it. In this block I added the following code:

    <script>
    function startTime() {
      var today = new Date();
      var h = today.getHours();
      var m = today.getMinutes();
      var s = today.getSeconds();
      m = checkTime(m);
      s = checkTime(s);
      document.getElementById('klok').innerHTML =  h + ":" + m + ":" + s;
      document.getElementById("klok").style.position = "absolute";
      document.getElementById("klok").style.top = "10px";
      document.getElementById("klok").style.right = "150px";
      document.getElementById("klok").style.font = "normal bold 80px Calibri";
      document.getElementById("klok").style.color = "#1457A5";
      var t = setTimeout(startTime, 500);
    }
    function checkTime(i) {
      if (i < 10) {i = "0" + i};  // add zero in front of numbers < 10
      return i;
    }
    </script>
    
    <body onload="startTime()">

    Now make sure that this message is an active slide in the channel, else you will not see the clock on text type slides.

    Then, when I want to display the clock in the upper right corner on a text type slide I simply add <div id="klok"></div> to this slide and there it is… a running and independent digital clock!

    • This reply was modified 7 years, 1 month ago by edwinwp. Reason: spelling
Viewing 4 replies - 1 through 4 (of 4 total)