LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » HTML-CSS-PHP-JavaScript / JavaScript Codes » JavaScript Simple Clock JS Code For Blog And Website

JavaScript Simple Clock JS Code For Blog And Website

JavaScript Simple Clock JS Code For Blog And Website

Hi to all people who love JavaScript or who will love it soon !
In this website you are going to find out the best JavaScript Codes for free!
And you will be able to learn and use them in your blogs and websites.
Check out this very nice and useful Java script codes, Java Script code is the best web languages which is easy to use with only basic knowledge of HTML.
With this Java script on your hand, you will find how easy to make a good and sophisticated websites. In this open source website find nice JavaScript.
So take a deep breath and welcome to the new world of JavaScripts.
Lets start !Here Is The JavaScript Simple Clock Code.


Features:
1.) “AM” And “PM” Are Supported.
2.) Blue Color Digital Clock.
3.) Give The Accurate Time According To Your Computer’s Clock.

How To Add In Blogspot?

1.) Go To Your www.blogger.com
2.) Open Your Desire Blog.
3.) Go To Layout.
4.) Click “Add A Gadget” Where You Want To Add It.
5.) Now Scroll To “HTML-JAVASCRIPT”
6.) Click “+” Icon To Add It.
7.) Now Copy The Below Code And Paste It To There.
8.) Leave The Title Empty.
9.) Click Save, Now You Are Done.
How To Add In Website?
1.) Just Go To Your HTML File.
2.) Now Copy The Below Code And Paste It Between <body> </body>.
3.) Save It, Now You Are Done. 

<span id=”tick2″></span>
<script>
<!–
/*By JavaScript Kit
http://javascriptkit.com
Credit MUST stay intact for use
*/
function show2(){
if (!document.all&&!document.getElementById)
return
thelement=document.getElementById? document.getElementById(“tick2”): document.all.tick2
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn=”PM”
if (hours<12)
dn=”AM”
if (hours>12)
hours=hours-12
if (hours==0)
hours=12
if (minutes<=9)
minutes=”0″+minutes
if (seconds<=9)
seconds=”0″+seconds
var ctime=hours+”:”+minutes+”:”+seconds+” “+dn
thelement.innerHTML=”<b style=’font-size:14;color:blue;’>”+ctime+”</b>”
setTimeout(“show2()”,1000)
}
window.onload=show2
//–>
</script>

JavaScript Simple Clock JS Code For Blog And Website

You Like It, Please Share This Recipe With Your Friends Using...

One Response to “JavaScript Simple Clock JS Code For Blog And Website”

  1. EXEIdeas says:

    Visit Us Daily To Get More Free Awesome Codes…

Leave a Reply

Your email address will not be published. Required fields are marked *