Comment 12 for bug 1397762

Revision history for this message
Laercio (laercionit) wrote :

Just to test orientation.

The scale of this problem recorded in the prints, but the javascript code used for the clock does not work anymore.

   <!-- Início Relógio -->
   <div style="text-align: center;margin-top:0px; ">
    <strong><span id="clock" style="font-size:60px; color:#FFFFFF;"></span></strong>
   </div>
   <script type="text/javascript">
   function EmbedInit()
   {
    clock();
   }
   var tick;
   function stop() {
     clearTimeout(tick);
   }
   function clock() {
     var ut=new Date();
     var h,m,s;
     var time=" ";
     h=ut.getHours();
     m=ut.getMinutes();
     if(m<=9) m="0"+m;
     if(h<=9) h="0"+h;
     time+=h+":"+m;
     document.getElementById('clock').innerHTML=time;
     tick=setTimeout("clock()",1000);
   }
   </script>
   <!-- Fim Relógio -->