Dokumentasi Berikutnya dari jquery yang lumayan bisa kita pakai sebagai gadget, sebuah Jam penuh warna dengan jquery

Demonya bisa dilihat Di bawah





    Cara membuatnya :
  1. Login blogger
  2. Rancangan, Elemen LamanTambah 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/AVvXsEjysAIRy6P0TrH-ctyTyKu6MLBhLs2Gbhbevt5sQmOGOklQwaDfPi-5q4vGEcA-9yTIAsMR2VE4s3YP2KsJEfIttHhz9HrWQZDyn_NXa6LHoSzgCiHHT1fuTZ-62WFDNT23jKgvMQZIg5s/s1600/orange.png) no-repeat left top;
}
.green .bg.left{
     background:  url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yV6DiF3VtuNl2dvOC3mekw-TTnyZk4OhA5BKx7Xm8Ws1wVrfhfMrbvHX4e07_w0PulCB0ncAGYOM-IH5kDnjPXFTVR4SVXUVjBtwl2x3X3Uu02PzAgE_F2TH1OJyHWfSIlzOQBA8law/s1600/green.png) no-repeat left top;
     }
.blue .bg.left{
        background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio6YVMnx3lH66lxqdRM_n8HvaAtHc4tj-81njH5xtuece8JnfF1IxwZGmBPIS5SWcsfhBUjR_TVWzO7cRalkdxqUxy2bZg1LL6Kkg43CSjhxdz0ItLo4WAudSqomHjKvfjoVajqu5o2M8/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/AVvXsEjysAIRy6P0TrH-ctyTyKu6MLBhLs2Gbhbevt5sQmOGOklQwaDfPi-5q4vGEcA-9yTIAsMR2VE4s3YP2KsJEfIttHhz9HrWQZDyn_NXa6LHoSzgCiHHT1fuTZ-62WFDNT23jKgvMQZIg5s/s1600/orange.png)no-repeat right top;
     }
.green .bg.right{
     background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4yV6DiF3VtuNl2dvOC3mekw-TTnyZk4OhA5BKx7Xm8Ws1wVrfhfMrbvHX4e07_w0PulCB0ncAGYOM-IH5kDnjPXFTVR4SVXUVjBtwl2x3X3Uu02PzAgE_F2TH1OJyHWfSIlzOQBA8law/s1600/green.png) no-repeat right top;
     }
.blue .bg.right{
     background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEio6YVMnx3lH66lxqdRM_n8HvaAtHc4tj-81njH5xtuece8JnfF1IxwZGmBPIS5SWcsfhBUjR_TVWzO7cRalkdxqUxy2bZg1LL6Kkg43CSjhxdz0ItLo4WAudSqomHjKvfjoVajqu5o2M8/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>

Simpan dan selesai....

Posting Komentar

[Mulai Senin, 30 Januari 2012] Maaf, Jangan Masukkan Link Pada Komentar

handapeunpost