01 December 2011

Tutorial | Facebook Like Page Style 1 |

Facebook like page style ini berada di sebelah kanan. Apabila cursor menyentuh, maka facebook like akan keluar. 


1) Tekan CTRL + F dan search kod ini
</head>
2) Copy kod di bawah dan paste sebelum kod </head>
<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js' type='text/javascript'/>

3) Save


4) Copy dan paste kod di bawah dalam ruangan HTML/Javascript
<script type="text/javascript">
//<!--
$(document).ready(function() {$(".w2bslikebox").hover(function() {$(this).stop().animate({right: "0"}, "medium");}, function() {$(this).stop().animate({right: "-250"}, "medium");}, 500);});
//-->
</script>
<style type="text/css">
.w2bslikebox{background: url("http://3.bp.blogspot.com/-KdSAuv-K7HM/To_WXoWHzJI/AAAAAAAAGvg/5UvL10LUe_k/facebook.png") no-repeat scroll left center transparent !important;display: block;float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index: 99999;position:fixed;right:-250px;top:20%;}
.w2bslikebox div{border:none;position:relative;display:block;}
.w2bslikebox span{bottom: 12px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;}
.w2bslikebox span a{color: #808080;text-decoration:none;}
.w2bslikebox span a:hover{text-decoration:underline;}
</style><div class="w2bslikebox" style=""><div>

<iframe src="http://www.facebook.com/plugins/likebox.php?href=URL FACEBOOK PAGE&amp;width=245&amp;colorscheme=light&amp;show_faces=true&amp;connections=9&amp;stream=false&amp;header=false&amp;height=330" scrolling="no" frameborder="0" style="border: medium none; overflow: hidden; height: 330px; width: 245px;background:#fff;"></iframe><span><a href="http://cokelatdanaiskrim.blogspot.com/">cikelyana's blog</a></span></div></div>
kod merah = tukar kepada url facebook page korang
kod biru = tukar kepada url blog korang
kod hijau = nama blog korang 

5) Siap boleh save dan view blog korang

credit : 
Terima kasih sudi baca. Like kalau suka
>
 
copyright by > Cikelyana