Berikut langkah-langkahnya
1. Login di blogger dengan ID anda
2. Klik menu Layout
3. Klik Page Elements
4. Klik Add a Page Element
5. Klik ADD TO BLOG pada menu HTML
6.Lalu Copy kode berikut dan Pastekan Pada kotak HTML
<span class="Apple-style-span" style="background-color: yellow;"><style type="text/css"></span>
<span class="Apple-style-span" style="background-color: yellow;">#gb{</span>
<span class="Apple-style-span" style="background-color: yellow;">position:fixed;</span>
<span class="Apple-style-span" style="background-color: yellow;">top:50px;</span>
<span class="Apple-style-span" style="background-color: yellow;">z-index:+1000;</span>
<span class="Apple-style-span" style="background-color: yellow;">}</span>
<span class="Apple-style-span" style="background-color: yellow;">* html #gb{position:relative;}</span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;">.gbtab{</span>
<span class="Apple-style-span" style="background-color: yellow;">height:100px;</span>
<span class="Apple-style-span" style="background-color: yellow;">width:30px;</span>
<span class="Apple-style-span" style="background-color: yellow;">float:left;</span>
<span class="Apple-style-span" style="background-color: yellow;">cursor:pointer;</span>
<span class="Apple-style-span" style="background-color: yellow;">background:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEje0DKffo67gCc3cUdzSDhCQTUwUPYhlz-sHuIfkEOwC2VZHTHT63yPzfPtKwut2ZymHGRkuE-ElAQk_AAT_fipYLgUF8WPxm0dLFizKAYu2q-P0IfVS72nGlZDWzJf-ZKILvxtDfvHaz2p/') no-repeat;</span>
<span class="Apple-style-span" style="background-color: yellow;">}</span>
<span class="Apple-style-span" style="background-color: yellow;">.gbcontent{</span>
<span class="Apple-style-span" style="background-color: yellow;">float:left;</span>
<span class="Apple-style-span" style="background-color: yellow;">border:2px solid #A5BD51;</span>
<span class="Apple-style-span" style="background-color: yellow;">background:#F5F5F5;</span>
<span class="Apple-style-span" style="background-color: yellow;">padding:10px;</span>
<span class="Apple-style-span" style="background-color: yellow;">}</span>
<span class="Apple-style-span" style="background-color: yellow;"></style></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><script type="text/javascript"></span>
<span class="Apple-style-span" style="background-color: yellow;">function showHideGB(){</span>
<span class="Apple-style-span" style="background-color: yellow;">var gb = document.getElementById("gb");</span>
<span class="Apple-style-span" style="background-color: yellow;">var w = gb.offsetWidth;</span>
<span class="Apple-style-span" style="background-color: yellow;">gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);</span>
<span class="Apple-style-span" style="background-color: yellow;">gb.opened = !gb.opened;</span>
<span class="Apple-style-span" style="background-color: yellow;">}</span>
<span class="Apple-style-span" style="background-color: yellow;">function moveGB(x0, xf){</span>
<span class="Apple-style-span" style="background-color: yellow;">var gb = document.getElementById("gb");</span>
<span class="Apple-style-span" style="background-color: yellow;">var dx = Math.abs(x0-xf) > 10 ? 5 : 1;</span>
<span class="Apple-style-span" style="background-color: yellow;">var dir = xf>x0 ? 1 : -1;</span>
<span class="Apple-style-span" style="background-color: yellow;">var x = x0 + dx * dir;</span>
<span class="Apple-style-span" style="background-color: yellow;">gb.style.right = x.toString() + "px";</span>
<span class="Apple-style-span" style="background-color: yellow;">if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}</span>
<span class="Apple-style-span" style="background-color: yellow;">}</span>
<span class="Apple-style-span" style="background-color: yellow;"></script></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><div id="gb"></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><div class="gbtab" onclick="showHideGB()"> </div></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><div class="gbcontent"></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: red;"><!-- Ganti ini dengan kode buku tamu kamu --></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><br/></span>
<span class="Apple-style-span" style="background-color: yellow;">Mau punya buku tamu seperti ini?<br/></span>
<span class="Apple-style-span" style="background-color: yellow;">Klik di</span>
<span class="Apple-style-span" style="background-color: yellow;"><a href="<a href="http://irwansyah-hukum.blogspot.com/2011/09/membuat-buku-tamu-tersembunyi-di-kanan.html">http://irwansyah-hukum.blogspot.com/2011/09/membuat-buku-tamu-tersembunyi-di-kanan.html</a>"></span>
<span class="Apple-style-span" style="background-color: yellow;">sini (Info Blog)</span>
<span class="Apple-style-span" style="background-color: yellow;"></a></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><div style="text-align:right"></span>
<span class="Apple-style-span" style="background-color: yellow;"><a href="javascript:showHideGB()"></span>
<span class="Apple-style-span" style="background-color: yellow;">[tutup]</span>
<span class="Apple-style-span" style="background-color: yellow;"></a></span>
<span class="Apple-style-span" style="background-color: yellow;"></div></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"></div></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"></div></span>
<span class="Apple-style-span" style="background-color: yellow;">
</span>
<span class="Apple-style-span" style="background-color: yellow;"><script type="text/javascript"></span>
<span class="Apple-style-span" style="background-color: yellow;">var gb = document.getElementById("gb");</span>
<span class="Apple-style-span" style="background-color: yellow;">gb.style.right = (30-gb.offsetWidth).toString() + "px";</span>
<span class="Apple-style-span" style="background-color: yellow;"></script></span>
yang berwarna merah diatas ganti dengan <span class="Apple-style-span" style="background-color: #e5e5e5; color: #4d4d4d; font-family: Arial, Helvetica, sans-serif; font-size: 12px;"><a href="http://www.shoutmix.com/" style="color: #6699cc; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" title="Get your own free shoutbox chat widget at ShoutMix!">ShoutMix chat widget</a> anda klo belum punya klik link ini </span><a href="http://www.shoutmix.com/main/">http://www.shoutmix.com/main/</a>
7.Save Widget tersebut.
Jika langkah tersebut sudah anda lakukan,anda dapat melihat hasilnya pada blog anda masing-masing
Home » Tips n Trik » Membuat Buku Tamu Tersembunyi di kanan atas
Membuat Buku Tamu Tersembunyi di kanan atas
Ditulis Oleh : irwansyah Hari: Sabtu, September 03, 2011 Kategori: Tips n Trik
Langganan:
Posting Komentar (Atom)
0 komentar:
Posting Komentar
jangan lupa komentar yah