Pasang widget ini di blogmu.
Copas kode berikut di HTML/Javascript.
<style>
/*----------------------
Colorful Clock With CSS & jQuery
--------------------------------------------*/
.clock{
/* The .clock div. Created dynamically by jQuery */
background-color:#252525;
height:100px;
width:100px;
position:relative;
overflow:hidden;
float:left;
}
.clock .rotate{
/* There are two .rotate divs - one for each half of the background */
position:absolute;
width:100px;
height:100px;
top:0;
left:0;
}
.rotate.right{
display:none;
z-index:11;
}
.clock .bg, .clock .front{
width:50px;
height:100px;
background-color:#252525;
position:absolute;
top:0;
}
.clock .display{
/* Holds the number of seconds, minutes or hours respectfully */
position:absolute;
width:100px;
font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
z-index:20;
color:#F5F5F5;
font-size:30px;
text-align:center;
top:37px; /* sesuaikan agar letak angkanya pas di tengah */
left:0;
/* CSS3 text shadow: */
text-shadow:4px 4px 5px #333333;
}
/* The left part of the background: */
.clock .bg.left{
left:0;
}
/* Individual styles for each color: */
.orange .bg.left{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHC6mQ8yanBltXxlKwQQzZGJYWM7A4ZeTWTvByu4ea4ZchOpmiV8CYtOM8mhJc39ewG0IhWSYcPL1VYO2O8rt7-0rIFvFuH0l46rJCK7Xrs3melqR1EJVBk-0QKSgvldZyxd4SecGUKJc/s1600/orange.png) no-repeat left top;
}
.green .bg.left{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxS2BLqm59X9TLtHU8zZdH4GqhaqkV1aXqQgUD-fdLZx2vEnEXoCwf_lM92SL4v0M2pP-5o-A8MTNE8qu7dF_UJA9s0wH06TLiPbrWLHEKnOgnMkNh3r4Lmh2GOWnyJ6sPIKr7txKOe0/s1600/green.png) no-repeat left top;
}
.blue .bg.left{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAPEbAfQRBMLkXL081ZvpHmdpxt_9LFmE5FrfQVzAYr4N05KnZYhbx-QoAIHaKQ5aGvPJm40T7WbCwBJHwu0jY-XN0Oud_fWWT2bnP6u5wVOk_A5MyuTefW82InpCmngmbt1eZJCY7dQI/s1600/blue.png) no-repeat left top;
}
/* The right part of the background: */
.clock .bg.right{ left:50px; }
.orange .bg.right{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHC6mQ8yanBltXxlKwQQzZGJYWM7A4ZeTWTvByu4ea4ZchOpmiV8CYtOM8mhJc39ewG0IhWSYcPL1VYO2O8rt7-0rIFvFuH0l46rJCK7Xrs3melqR1EJVBk-0QKSgvldZyxd4SecGUKJc/s1600/orange.png)no-repeat right top;
}
.green .bg.right{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbxS2BLqm59X9TLtHU8zZdH4GqhaqkV1aXqQgUD-fdLZx2vEnEXoCwf_lM92SL4v0M2pP-5o-A8MTNE8qu7dF_UJA9s0wH06TLiPbrWLHEKnOgnMkNh3r4Lmh2GOWnyJ6sPIKr7txKOe0/s1600/green.png) no-repeat right top;
}
.blue .bg.right{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAPEbAfQRBMLkXL081ZvpHmdpxt_9LFmE5FrfQVzAYr4N05KnZYhbx-QoAIHaKQ5aGvPJm40T7WbCwBJHwu0jY-XN0Oud_fWWT2bnP6u5wVOk_A5MyuTefW82InpCmngmbt1eZJCY7dQI/s1600/blue.png) no-repeat right top;
}
.clock .front.left{
left:0;
z-index:10;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://kangdadang.googlecode.com/files/jquery.tzineClock.js"></script>
<script type="text/javascript" src="http://kangdadang.googlecode.com/files/script.js"></script>
<div id="fancyClock"></div>
Klik save.