1. Login ke akun Blogger anda.
2. Kemudian pada Dashboard blog anda klik Template > Edit Html > Lanjutkan > centang Expand Template Widget.
3. Cari kode <head> gunakan CTRL+F untuk mempermudah pencarian.
4. Jika sudah ketemu, Copy kode berikut ini kemudian letakan tepat dibawah kode <head>.
<script src='http://andes.googlecode.com/files/jquery.js' type='text/javascript'/>
5. Simpan Template.
Oke, sampai tahap sini sudah selesai dan gambar siap digunakan kedalam
postingan atau bagian blog lainnya. Cara selanjutnya sekarang adalah
memunculkan gambar tersebut supaya menjadi 3 dimensi saat diposting,
caranya masukan kode script dibawah ini pada kolom posting mode HTML:
Keterangan:<div id="defaultCube" style="height: 300px; width: 500px;"><img alt="Jquery Image Efek Kubus Berputar" src="URL GAMBAR 1" /><img alt="Jquery Image Efek Kubus Berputar" src="URL GAMBAR 2" /><img alt="Jquery Image Efek Kubus Berputar" src="URL GAMBAR 3" /><img alt="Jquery Image Efek Kubus Berputar" src="URL GAMBAR 4" /><img alt="Jquery Image Efek Kubus Berputar" src="URL GAMBAR 5" /></div><div align="center" id="dumdiv" style="color: #dadada; font-size: 10px;" valign="top"><a href="http://mas-andes.blogspot.com/" id="dum" style="color: #dadada; color: #dadada; font-size: 10px; text-decoration: none;">Jquery</a></div><script src="http://faceblog-evolutions.googlecode.com/files/scriptjquery.js" type="text/javascript"></script><script type="text/javascript">var sds = document.getElementById("dum");if(sds == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");}var sdss = document.getElementById("dumdiv");if(sdss == null){alert("You are using a free package.\n You are not allowed to remove the tag.\n");}if(sds!=null){$('#defaultCube').imagecube({direction: 'random', // Direction of rotation: random|up|down|left|rightrandomSelection: ['up', 'down', 'left', 'right'], // If direction is random, select one of thesespeed: 2000 // Time taken (milliseconds) to transition});}$(function(){var alt = 0;$("#left").live(function(){alt%2 == 0?$("#flipMe").css("background-color", "#000").animate({height:200+"px", width: 0+"px",marginLeft: 250+"px"},590).css("background-color", "#555").animate({height:200+"px", width: 500+"px",marginLeft:0+"px"},820):$("#flipMe").css("background-color", "#555").animate({height:200+"px", width: 0+"px", marginLeft: 250+"px"},590).css("background-color", "#000").animate({height:200+"px", width: 500+"px",marginLeft: 0+"px"},820);alt++;})$("#top").live(function(){alt%2 == 0?$("#flipMe").css("background-color", "#000").animate({width:500+"px", height: 0+"px", marginTop: 100+"px"},590).css("background-color", "#555").animate({width:500+"px", height: 200+"px", marginTop: 0+"px"},820):$("#flipMe").css("background-color", "#555").animate({width:500+"px", height: 0+"px", marginTop: 100+"px"},590).css("background-color", "#000").animate({width:500+"px", height: 200+"px", marginTop: 0+"px"},820);alt++;})$("#right").live(function(){alt%2 == 0?$("#flipMe").css("background-color", "#000").animate({height:200+"px", width: 0+"px",marginLeft: 250+"px", marginRight: 250+"px"},590).css("background-color", "#555").animate({height:200+"px", width: 500+"px",marginLeft:0+"px",marginRight: 0+"px"},820):$("#flipMe").css("background-color", "#555").animate({height:200+"px", width: 0+"px", marginLeft: 250+"px",marginRight: 250+"px"},590).css("background-color", "#000").animate({height:200+"px", width: 500+"px",marginLeft: 0+"px", marginRight: 0+"px"},820);alt++;})$("#bottom").live(function(){alt%2 == 0?$("#flipMe").css("background-color", "#000").animate({height:200+"px", width: 0+"px",marginLeft: 250+"px", marginRight: 250+"px"},590).css("background-color", "#555").animate({height:200+"px", width: 500+"px",marginLeft:0+"px",marginRight: 0+"px"},820):$("#flipMe").css("background-color", "#555").animate({height:200+"px", width: 0+"px", marginLeft: 250+"px",marginRight: 250+"px"},590).css("background-color", "#000").animate({height:200+"px", width: 500+"px",marginLeft: 0+"px", marginRight: 0+"px"},820);alt++;})});</script>
Ganti tulisan yang berwarna merah dengan URL Gambar milik anda.
6. Selesai dan lihat hasilnya.
Kode script di atas bisa di letakkan dimana saja terserah keinginan
anda, jika anda ingin menaruh gambar tersebut pada sidebar blog maka
caranya:
1. Login kemudian klik Tata Letak > Tambah Widget > pilih Javascript/HTML, kemudian paste kode script yang diatas tersebut kedalam kolom HTML yang tersedia.
2. Langkah terakhir, Save dan selesai lihat hasilnya.
Langkah yang sangat mudah dan tidak memakan banyak waktu, maka hasil dari Jquery Image Efek Kubus Berputar sudah melengkapi blog anda dengan sempurna.
0 Response to "Jquery Image Efek Kubus Berputar"
Posting Komentar