The code, you know it and love it...
I stole it right off boltwire's site, in  a readme, or howto, or wth?
I hope this code parses okay.

<form name="clock" onSubmit="0">
<input type="text" name="face" size=13 value='' style="border:
0;background-color: #fff; color: #000;">
</form>
<script language="JavaScript">
<!--
function showtime(){
    var now = new Date()
    var hours = now.getHours()
    var minutes = now.getMinutes()
    var seconds = now.getSeconds()
    var timeValue = "" + ((hours > 12) ? hours - 12 : hours)
    var timeValue1 = "" + ((hours < 10) ? "0" : "") + hours
    timeValue  += ((minutes < 10) ? ":0" : ":") + minutes
    timeValue1 += ((minutes < 10) ? ":0" : ":") + minutes
    timeValue  += ((seconds < 10) ? ":0" : ":") + seconds
    timeValue1 += ((seconds < 10) ? ":0" : ":") + seconds
    timeValue  += (hours >= 12) ? " p.m." : " a.m."
    document.clock.face.value = timeValue
//  document.clock.face.value = timeValue1;
    timerID = setTimeout("showtime()",1000)
}
showtime();
//-->
</script>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to