Toko PAstirah

Kode Script Jam dan Tanggal untuk Blogger


Pergilah ke Dashboard lalu pilih Templates,pilih tab Edit Html
Kemudian cari kode berikut (gunakan Ctrl+F untuk mempermudah pencarian):

]]></b:skin>

Setelah kode tadi sobat ketemukan,kini tepat diATASnya letakkan barisan kode css berikut:

Copy Script Di Bawah ini :
.as-si {border: 1px solid #EFF0F1; padding: 5px; background: #ffffff;-moz-border-radius:5px;} .as-si a {background:none;} img.float-right {margin: 5px 0px 0 10px;} img.float-left {margin: 5px 10px 0 0px;}
Setelah itu simpan template ya sob.

Selanjutnya,kembali ke Dashboard pilih Tata Letak / Layout,pilih Add a Gadget dan pilih Html/Javascript

Lalu sobat copy kode javascript tanggal dan jam berikut:
Copy Script Di Bawah ini :
<table style="border:0px" bgcolor="transparent"><tr><td> <div class='as-si'><div style='font-family:arial; color:#999999;font-size:12px;text-transform:none;'> <script type="text/javascript"> window.setTimeout("jam()",1000); function jam() { var tanggal = new Date(); setTimeout("jam()",1000); document.getElementById("mrpujiajadehclock").innerHTML=tanggal.getHours()+":"+tanggal.getMinutes()+":"+tanggal.getSeconds(); } </script> <strong><div id="mrpujiajadehclock"></div></strong></div></div></td><td><div class='pelajaranblogareakeren'><div style='font-family:arial; color:#999999;font-size:12px;text-transform:none;'> <script type="text/javascript"> var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Minggu","Senin","Tuesday","Rabu","Kamis","Jumat","Sabtu") var montharray=new Array("January","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember") document.write("<b>"+dayarray[day]+", "+daym+" "+montharray[month]+", "+year+"</b>") </script></div></div></td><td></td></tr></table>
Simpan.
Share this post :

Post a Comment

About Me

AS - SI

AS-SI berisi tentang Blogger, Sofwert, Game, Film Dan Informasi Lainya : ...Read More

Sponsor

PC Gamer-s 300X250
 
Support : Creating Website | AS - SI | AS - SI
Copyright © 2014. AS - SI - All Rights Reserved
Template Created by Creating Website Published by AS - SI
Proudly powered by AS - SI