Pages

30 Mrt. 2013

Cara Membuat Buku Tamu di Blog



  • Masuk Ke Blogger terlebih dahulu.
  • Pilih Menu Tata Letak
  • Pilih Tambahkan Gadget.
  • Pilih yang HTML/Java Scrip.
  •  Setelah itu tambahkan Kode Html di bawah ini:
<!-- Start Shoutbox light effect by Kiss --><br />
<script type="text/javascript" 
src="http://code.jquery.com/jquery-latest.pack.js"></script><br />
<script>
$(document).ready(function() {
//select all the a tag with name equal to modal
$('a[name=modal]').click(function(e) {
//Cancel the link behavior
e.preventDefault();
//Get the A tag
var id = $(this).attr('href');
//Get the screen height and width
var semahHeight = $(document).height();
var semahWidth = $(window).width();
//Set heigth and width to semah to fill up the whole screen
$('#semah').css({'width':semahWidth,'height':semahHeight});
//transition effect
$('#semah').fadeIn(1000);
$('#semah').fadeTo("slow",0.8);
//Get the window height and width
var winH = $(window).height();
var winW = $(window).width();
//Set the popup window to center
$(id).css('top', winH/2-$(id).height()/2);
$(id).css('left', winW/2-$(id).width()/2);
//transition effect
$(id).fadeIn(2000);
});
//if close button is clicked
$('.window .close').click(function (e) {
//Cancel the link behavior
e.preventDefault();
$('#semah').hide();
$('.window').hide();
});
//if semah is clicked
$('#semah').click(function () {
$(this).hide();
$('.window').hide();
});
});
</script><br />
<style>a {color:#ffffff; text-decoration:none}
img { border: none; }
#semah {
position:absolute;
left:0;
top:0;
z-index:9000;
background-color:#000;
display:none;
}
#wadah .window {
position:fixed;
left:0;
top:0;
width:450px;
height:200px;
display:none;
z-index:9999;
padding:20px;
}
#wadah #kid53 {
background:url(http://i809.photobucket.com/albums/zz15/yuda03/REDGUESTBOOK.png)
 no-repeat 0 0 transparent;
width:265px;
height:460px;
padding:56px 0 20px 5px;
}
#tutupan {
padding:2px 0 0 0;
}
</style><br />
<ul><center>
<a href="#kid53" name="modal"><img 
src="http://i809.photobucket.com/albums/zz15/yuda03/shoutboxtabRED.png" 
border="0" width="158" height="58" /></a>  </center>
</ul>
<div id="wadah">
<!-- Start Shoutbox 
--><br />
<div id="kid53" class="window">
<br />
<div style="text-align: center;">
<iframe 
allowtransparency="yes" frameborder="3" height="250" 
id="cboxmain5-816248" marginheight="2" marginwidth="2" 
name="cboxmain5-816248" scrolling="auto" 
src="http://www5.cbox.ws/box/?boxid=816248&boxtag=jz5q4a&sec=main"
 style="border: #ababab 1px solid;" 
width="250"></iframe></div>
<div>
<br />
<div style="text-align: center;">
<br />
<iframe allowtransparency="yes" frameborder="0" height="95" 
id="cboxform5-816248" marginheight="2" marginwidth="2" 
name="cboxform5-816248" scrolling="no" 
src="http://www5.cbox.ws/box/?boxid=816248&boxtag=jz5q4a&sec=form"
 style="border-top: 0px; border: #ababab 1px solid;" 
width="250"></iframe></div>
</div>
<div 
id="tutupan">
<input type="button" value="Close" class="close" 
/><a style=" float:center; font-size:10px; color:#3B78CD; 
text-decoration:none;" href="http://ariflaw.blogspot.com">Blogger  Tutorials</a><br />
</div>
</div>
<!-- End Shoutbox --><br />
<div id="semah">
</div>
</div>
<!-- End of Shoutbox 
light effect by Kiss -->


  • Pilih Save.

Geen opmerkings nie:

Plaas 'n opmerking

 

Blogger news

Blogroll

About