TheCripZone SMF Themes Site

All Things Public => Theme Support => Topic started by: shadow on Jul 28, 13, 08:46:00 PM

Title: Live Clock in Actualism
Post by: shadow on Jul 28, 13, 08:46:00 PM
On an old post you posted
"<div id="clock_menu">
<font id="clock">Loading...</font>
<script type="text/javascript">//<![CDATA[
           function refrClock()
           {       
          var d=new Date();
             var s=d.getSeconds();
             var m=d.getMinutes();
             var h=d.getHours();
             var am_pm;
            if (s<10) {s="0" + s}
            if (m<10) {m="0" + m}
            if (h>12) {h-=12;am_pm = "pm"}
           else {am_pm="am"}
           if (h<10) {h="0" + h}
          document.getElementById("clock").innerHTML=h + ":" + m + ":" + s + am_pm;
          setTimeout("refrClock()",1000);
          }
           refrClock();//]]></script>
</div>"

Can you be more specific on where Main_Menu resides. I found it in index.css but nothing in main_menu looked compatible with the above code.
Title: Re: Live Clock in Actualism
Post by: Crip on Jul 29, 13, 07:58:07 AM
Menu is in the ==> (Index.Template.php)

regards..