Cara Membuat Kalender di blog

Cara membuat kalender diblog sangat gampang tinggal copy saja srib dibawah ini dan paste di elemen baru tempat anda akan pasang kalender

Script dibawah ini adalah untuk membuat kalender/Tanggalan


<script> var tod=new Date(); var
weekday=new
Array("Minggu","Senin","Selasa","Rabu","Kamis","Jum'at","Sabtu"); var
monthname=new
Array("Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember");
var y = tod.getFullYear(); var m = tod.getMonth(); var d =
tod.getDate(); var dow = tod.getDay(); var dispTime = " " +
weekday[dow] + ", " + d + " " + monthname[m] + " " + y + " "; if
(dow==0) dispTime= "<font color=red>" + dispTime +
"</font>"; else if (dow==5) dispTime= "<font color=green>"
+ dispTime + "</font>"; else dispTime= "<font color=black>"
+ dispTime + "</font>"; document.write(dispTime); </script>
<p><a href="http://online-buziness.blogspot.com/">Creative By</a></p>



Dan hasiinya seperti ini :




Sedangkan script di bawah ini adalah script untuk membuat jam digital ..
Copy script dan paste di web anda .



<script> function clock() { var
digital = new Date(); var hours = digital.getHours(); var minutes =
digital.getMinutes(); var seconds = digital.getSeconds(); var amOrPm =
"AM"; if (hours > 11) amOrPm = "PM"; if (hours > 12) hours =
hours - 12;if (hours == 0) hours = 12; if (hours <= 9) hours = "0" +
hours; if (minutes <= 9) minutes = "0" + minutes; if (seconds <=
9) seconds = "0" + seconds; dispTime = hours + ":" + minutes + ":" +
seconds + " " + amOrPm; if (navigator.appName=="Netscape") { dispTime =
hours + ":" + minutes + " " + amOrPm; document.write (dispTime);
return; } if (document.layers) {
document.layers.jamdigital.document.write(dispTime);
document.layers.jamdigital.document.close(); } else if (document.all)
jamdigital.innerHTML = dispTime; setTimeout("clock()", 1000); }
document.write('<span id="jamdigital"
xstyle="font-weight:bold;"></span>'); clock(); </script>

<p><a href="http://online-buziness.blogspot.com/">Creative By</a></p>


dan Hasinya seperti ini :