Cara membuat buku tamu/CBOX di blog
- Rancangan
- Elemen Laman
- Tambah Gadget
- HTML / Java Script
- Pada Bagian Judul Kosongkan saja
- Pada Bagian Konten Copy paste Script di bawah ini
<style type="text/css">
#gb{
position:fixed;
top:30px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:200px;
width:30px;
float:left;
cursor:pointer;
background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4oVQvZ-2F9X91BERgtAJm-0mIAvXDN7l0DH3kkrc12TV8cXsd1uOpcOhaxlIBiMgdB7w5ExOqXxfFgUL6srTwoSA8zqwSnVCoHTx2VNMsWK-Ss2xPoOGPQrNg0riYugvXbvRll54DrjMA/s1600/cbred.png') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #A5BD51;
background:#F5F5F5;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.right = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
[Sembunyikan]
</a>
</div><br/>
<!-- Ganti ini dengan kode buku tamu kamu -->
copy paste script chat box di sini...
</div><!-- END CBOX -->Mau Seperti ini..? <a href="http://viperquest.blogspot.com/2012/11/cara-membuat-buku-tamucbox-di-blog.html">Klik</a>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>
Keterangan :
UNGU = Ganti alamat image sesuai keinginan agan...
BIRU = Ganti Dengan Chat Box Sobat
kumdian Simpan/Save
Saya cuman bisa menyidikan beberapa icon hide untuk CBOX :D
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWmw1yLc7tJOogeQC5nB4UTpEr-GcTqOuOhnSBOwZz3IuRBnuqKGZmbj1aXCXboShlsLEMiA5rKs2RaS8bgLh3J5SlHfTNGyA5wOtLEkZ0f15ZUbDCyWH8FUZTY318-6bM1LgW5zuGqOff/s1600/cbblue-2.png
Warna border #0079a0
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg56jlsO2fS7wIQwF7_F24KWH9aoXu-2T5PNe1UBEkCM1ZZCYF-DS7zpwRRYNU2fTEg3CThXG1uyxiy3Tz1-qetczZwl4njldyxDWqUqFqardt_r-X7fvX3fcO1qhCiy4y0o9fDkZbJ0Bkt/s1600/cbblue.png
Warna border #003e82
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhaPCqxLTXZZSzYJbOMqmdDpCHaR8yC9I4QPSP3UQ5Oji5FLUYOO9gaC4zFikha1iWcZ0U9Dd67YcGD7zRsKX3D-Zlmnn-B_InbyzLh9cMGjS646Nyd5TqNGf42whs7Cpv292BAmvvH943O/s1600/cbgreen.png
Warna border #008232
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFiagPODqkeOnF4p1rfHq4B3lzMr5z4UmPoXhjTQFWA9ZSR-8q61g3qMRCoyrN3E9yFUVhkSvbcaLTKK-NaGBmNrG7JABW1p7WIXtiReutET3D0TqND0pz5eDItBeVEoT59IpoA-usJLXm/s1600/cbyellow.png
Warna border #aca500
URL Gambarhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4oVQvZ-2F9X91BERgtAJm-0mIAvXDN7l0DH3kkrc12TV8cXsd1uOpcOhaxlIBiMgdB7w5ExOqXxfFgUL6srTwoSA8zqwSnVCoHTx2VNMsWK-Ss2xPoOGPQrNg0riYugvXbvRll54DrjMA/s1600/cbred.png
Warna border #790909
0 Comment:
Post a Comment
Sebelum Berkomentar Mohon Patuhi Peraturan Berikut :
-Berkomentarlah yang sopan
-Jangan berkata yang dilarang/Kotor.
-Dilarang Spam , Sara , Floods.
Saya berterimakasih untuk sobat yaang telah menaati peraturan :)
Admin BloodAssassin