***
Hướng dẫn các bạn cách thêm khung Like Fanpage vào góc phải Blog cá nhân của bạn :
Ảnh Demo:
Các bước thực hiện :
- B1 : Đăng nhập vào blogspot => Bố Cục => Thêm Tiện ích => HTML/Javascript Rồi Copy Đoạn Code Dưới và Save lại :
[Code]
<script type="text/javascript"> function hide_float_right() { var content = document.getElementById('float_content_right'); var hide = document.getElementById('hide_float_right'); if (content.style.display == "none") {content.style.display = "block"; hide.innerHTML = '<a href="javascript:hide_float_right()">Tắt quảng cáo [X]</a>'; } else { content.style.display = "none"; hide.innerHTML = '<a href="javascript:hide_float_right()">Xem quảng cáo...</a>'; } } </script> <style> .float-ck { position: fixed; bottom: 0px; z-index: 9000} * html .float-ck {position:absolute;bottom:auto;top:expression(eval (document.documentElement.scrollTop+document.docum entElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))) ;} #float_content_right {border: 1px solid #01AEF0;} #hide_float_right {text-align:right; font-size: 11px;} #hide_float_right a {background: #01AEF0; padding: 2px 4px; color: #FFF;} </style> <div class="float-ck" style="right: 0px" > <div id="hide_float_right"> <a href="javascript:hide_float_right()">Tắt Quảng Cáo [X]</a></div> <div id="float_content_right"> <!-- Start quang cao--> <iframe src="http://www.facebook.com/plugins/likebox.php?href=https://www.facebook.com/pages/Sinh-Vi%C3%AAn-Vi%E1%BB%87t/362714830553175?ref=hl&width=250&colorscheme=light&show_faces=true&connections=9&stream=false&header=false&height=200" scrolling="no" frameborder="0" scrolling="no" style="border: medium none; overflow: hidden; height: 200px; width: 250px;background:#fff;"></iframe> <!-- End quang cao --> </div> </div>
- B2 : Bạn thay đổi một sỗ mục sao cho phù hợp với blog của mình.
- https://www.facebook.com/pages/Sinh-Vi%C3%AAn-Vi%E1%BB%87t/362714830553175?ref=hl : Thành Link Fanpage Của Bạn
-width=250 : chiều rộng khung
-height=200 : chiều cao khung
Chúc các bạn thành công !!
ABOUT THE AUTHOR

Hello We are OddThemes, Our name came from the fact that we are UNIQUE. We specialize in designing premium looking fully customizable highly responsive blogger templates. We at OddThemes do carry a philosophy that: Nothing Is Impossible
Blogger Comment
Facebook Comment