Cách tạo like fan facebook bên thanh cuộn phải blogger thủ thuật
- 1. TrỏtênmiềnvềBlogspot www.truongmanhquyen.com
Cáchtạo Like Fan Facebook bênthanhcuộnphải blogger -
thủthuật
Thủthuậttối nay mìnhgửitớicácbạnđólàdùngjqueryđểtạohiệuứng
Like Fan Facebook ngaybêncạnhthanhcuộntrìnhduyệt.
Điềunàysẽlàmgiảmđược 1 tiệníchhiểnthịtrongbốcụccủagiaodiện
blogger hoặcứngdụng trongbốcụccủagiaodiện blogger
cóthanhcuộntrìnhduyệtnhỏ .Thủthuậtnàycóthểứngdụngtrên
Website vànhiềunền blog khácnhau.
Demo tạitrang ww.truongmanhquyen.com
- Cáchlàmthủthuật
+ Vàobảngđiềukhiển blogger - bốcục (Layout) -
> Thêmtiệních (Add a Widget) -> HTML/Javascript
+ Dán Code dướiđâyvàotiệníchvừathêm
www.Truongmanhquyen.blogspot.com/www.facebook.com/TruongManhQuyen
- 2. TrỏtênmiềnvềBlogspot www.truongmanhquyen.com
<style>img,a{border:0;}#on{visibility:visible;}#off{visibility:hi
dden;
}#facebook_div{width:280px;height:300px;overflow:hidden;}#f
acebook_right{z-index:10005;border:2px solid
#3c95d9;background-
color:#fff;width:196px;height:353px;position:fixed;right:-
200px;}#facebook_right img{position:absolute;top:-2px;left:-
35px;}#facebook_rightiframe{border:0px solid
#3c95d9;overflow:hidden;position:static;height:360px;left:-
2px;top:-3px;}#facebook_left{z-index:10005;border:2px solid
#3c95d9;background-
color:#fff;width:196px;height:353px;position:fixed;left:-
200px;}#facebook_left img{position:absolute;top:-2px;right:-
35px;}#facebook_leftiframe{border:0px solid
#3c95d9;overflow:hidden;position:static;height:360px;right:-
2px;top:-3px;}</style><script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.mi
n.js"></script><script type="text/javascript"
src="http://apis.google.com/js/plusone.js"></script><script
type="text/javascript">jQuery(document).ready(function(){
jQuery("#facebook_right").hover(function(){
jQuery(this).stop(true,false).animate({right: 0}, 500);
},function(){
jQuery("#facebook_right").stop(true,false).animate({right: -
200}, 500); }); jQuery("facebook").hover(function(){
jQuery(this).stop(true,false).animate({right: 0}, 500);
},function(){
jQuery("facebook").stop(true,false).animate({right: -303}, 500);
www.Truongmanhquyen.blogspot.com/www.facebook.com/TruongManhQuyen
- 3. TrỏtênmiềnvềBlogspot www.truongmanhquyen.com
}); });</script><div id="on"><div id="facebook_right"
style="top: 50%;"><div id="facebook_div"><img
src="http://4.bp.blogspot.com/-
pzM3IebaPHg/T3BF_Cp5ChI/AAAAAAAABTA/uPlhRvqJF2
Y/s1600/helperblogger.com-facebook-icon.png" alt="" />
<!-- Pages Fan -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
varjs, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-
href="https://www.facebook.com/TruongManhQuyen"
data-width="292" data-show-faces="true" data-stream="true"
data-header="true"></div></div></div></div>
+ Cácthôngsốcầnlưu ý:
* top: 50% (Con sốmàuđỏ)
khoảngcáchtừtrêntrìnhduyệtxuốngtớiảnh Facebook
* Đoạnmãmàuxanh: Là 2 đoạnmãcácbạnlấyđượctừ site Fan
Facebook Like.
vàdáncả 2 đoạn code đóvàochỗ code màuxanh.
Sauđólưulạixemkếtquả
www.Truongmanhquyen.blogspot.com/www.facebook.com/TruongManhQuyen
- 4. TrỏtênmiềnvềBlogspot www.truongmanhquyen.com
Chúccácbạnthànhcông.
Thânái !!!
www.Truongmanhquyen.blogspot.com/www.facebook.com/TruongManhQuyen