Hello bloggers, since there are already some of our friend asked, "How to Make a Guestbook as on this blog?", Then I write this post with the title "How to Create a Guestbook as blog@pajri-style". Actually many bloggers who have posted about a similar topic by making a guest book on the blog, but it does not matter if I make a post on this blog, because it has several times asked, be my responsibility to share, hehehe. :D
so, let's check it out:
1. Log in blogger as your account blogger
2. Sign on the "Draft"
3. "Add a Gadget">> Select the HTML Gadget
4. Paste the following code:
<style type="text/css">
#gb{
position:fixed;
top:50px;
z-index:+1000;
}
* html #gb{position:relative;}
.gbtab{
height:210px;
width:100px;
float:left;
cursor:pointer;
background:url('http://www.imgxc.com/fullimage/2lX35P.gif') no-repeat;
}
.gbcontent{
float:left;
border:2px solid #000000;
background:#999999;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 100-w) : moveGB(30-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">
<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="200" height="305" src="http://www7.cbox.ws/box/?boxid=370377&boxtag=antrop&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#DBE2ED 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="200" height="75" src="http://www7.cbox.ws/box/?boxid=370377&boxtag=antrop&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#DBE2ED 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
<font size="2">
<div style="text-align:right">
<a href="javascript:showHideGB()">
[Tutup]
</a>
</div>
</font></div>
</div>
<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.right = (30-gb.offsetWidth).toString() + "px";
</script>
5. Click Save and finish.
Note:
- Replaced the red code with your code's CBOX. If you do not understand how to make the CBOX, please browse on google to find it:) It's very much a blogger friend who made the posting about CBOX.
that's all, the article "How to Create a Guestbook as blog@pajri-style" is. If any comments please write down bro :)



No comments:
Post a Comment