News:

On Deck: Next is "Bluemoon" For SMF 2.1.4! ;)

 

Recent Topics

Members
  • Total Members: 155
  • Latest: TMXXX
Stats
  • Total Posts: 10,782
  • Total Topics: 1,380
  • Online today: 163
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 13
Total: 13

Live Clock in Actualism

Started by shadow, Jul 28, 13, 08:46:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shadow

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.

Crip

Menu is in the ==> (Index.Template.php)

regards..
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.