Cara membuatnya :
1. Login blogger
2. Rancangan, Elemen Laman, Tambah Gadget,
3. Pilih HTML/Java script Dan Simpan kode berikut :
<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/AVvXsEiQC-GQXCWLSx3HgtaJfI2veEXmjX8MuAY8vng0DRwXyPQPMbWH1ReE2qQ996EaHIzwrywIeM5XWbv_c0rp9yQ_Qp1mJjYxa-UcA383Ss1LHVA8izc3tratCnJRWxkRK8wyjBMLB3EweBs/s1600/orange.png) no-repeat left top;
}
.green .bg.left{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCZ35_WDkeaBzCwQEjPnvxSWbcb9MDsny09M6CWcqXL4QV_7W8xUprH3RC0O1qvRmnVDLlVO8LpYcGVTj8a7_TKqe3I2BM3Nc14p-cRj-PLaQP34jNNSkujgTgUkszMcgOcVK9mk1dYQ/s1600/green.png) no-repeat left top;
}
.blue .bg.left{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuz_lgVlfht2RllYhz2I88y7JAgTFNjqC2YuYjVbnAIeSxpIrAY65TK-RXyN5TIUe96jY8kXsOEvBxKIX3-4eBQXdUfO3LnH1qhF4edD5EP1i_XMhim1rEUkvJmXa0CZvSl6M3utoHbGQ/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/AVvXsEiQC-GQXCWLSx3HgtaJfI2veEXmjX8MuAY8vng0DRwXyPQPMbWH1ReE2qQ996EaHIzwrywIeM5XWbv_c0rp9yQ_Qp1mJjYxa-UcA383Ss1LHVA8izc3tratCnJRWxkRK8wyjBMLB3EweBs/s1600/orange.png)no-repeat right top;
}
.green .bg.right{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCZ35_WDkeaBzCwQEjPnvxSWbcb9MDsny09M6CWcqXL4QV_7W8xUprH3RC0O1qvRmnVDLlVO8LpYcGVTj8a7_TKqe3I2BM3Nc14p-cRj-PLaQP34jNNSkujgTgUkszMcgOcVK9mk1dYQ/s1600/green.png) no-repeat right top;
}
.blue .bg.right{
background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuz_lgVlfht2RllYhz2I88y7JAgTFNjqC2YuYjVbnAIeSxpIrAY65TK-RXyN5TIUe96jY8kXsOEvBxKIX3-4eBQXdUfO3LnH1qhF4edD5EP1i_XMhim1rEUkvJmXa0CZvSl6M3utoHbGQ/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>
4. Simpan, dan selesai....
Title : Pasang Jam Animasi Colorfull With CSS & jQuery
URL : http://blogcunayz.blogspot.com/2011/06/pasang-jam-animasi-colorfull-with-css.html
Anda boleh menyebar Luaskan atau Meng Copy-Paste Artikel ini bila dapat bermanfaat bagi teman-teman anda, Namun jangan lupa untuk meletakkan Link Pasang Jam Animasi Colorfull With CSS & jQuery sebagai Sumbernya.
URL : http://blogcunayz.blogspot.com/2011/06/pasang-jam-animasi-colorfull-with-css.html
Anda boleh menyebar Luaskan atau Meng Copy-Paste Artikel ini bila dapat bermanfaat bagi teman-teman anda, Namun jangan lupa untuk meletakkan Link Pasang Jam Animasi Colorfull With CSS & jQuery sebagai Sumbernya.
Belum ada komentar, bagaimana pendapat Anda,,??
Post a Comment
Untuk menyisipkan kode,gunakan tag
[code]KODE ANDA[/code]
Untuk menyisipkan quote,gunakan tag
[blockquote]KATA-KATA ANDA[/blockquote]
Untuk menyisipkan gambar,gunakan tag
[img]URL GAMBAR ANDA[/img]
Untuk menyisipkan video,gunakan tag
[youtube]URL VIDEO ANDA[/youtube]
Anda juga bisa menggunakan emoticon seperti biasa.