How to put Facebook popup like box on blogger blog
Fast Copy the html/ JavaScript code from the below box
<!-- Facebook Popup Widget
START -->
<script
src='http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js'></script>
<style>
#abt-back {
display:none;
background:rgba(0,0,0,0.8);
width:100%;
height:100%;
position:fixed;
top:0;
left:0;
z-index:99999;
}
#abt-exit {
width:100%;
height:100%;
}
#abt1 {
background:white;
width:420px;
height:270px;
position:absolute;
top:58%;
left:63%;
margin:-220px 0 0 -375px;
-webkit-box-shadow: inset
0 0 50px 0 #939393;
-moz-box-shadow: inset 0 0
50px 0 #939393;
box-shadow: inset 0 0 50px
0 #939393;
-webkit-border-radius:
5px;
-moz-border-radius: 5px;
border-radius: 5px;
margin: -220px 0 0 -375px;
}
#abt-fb-popup {
float:right;
cursor:pointer;
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdMBn9kVs8HPeq5H7hZ06Rlkc_hyphenhyphenVCVJ9gzKU9OCLWzlbmAWvusQNXPyTuZLdRD-C7z1qmFUH7NUfGs9ZU6g8d6roVTIkLxC155Y4Q42pDpDp4Txg0bvgl0q4_j0_c8DGPBGwnC_ICHTQ/s1600/close.png)
repeat;
height:15px;
padding:20px;
position:relative;
padding-right:40px;
margin-top:-20px;
margin-right:-22px;
}
.abt-fb-like {
height:1px;
width:366px;
margin:0 auto;
background:#F3F3F3;
margin-top:16px;
position:relative;
margin-left:20px;
}
#linkit,#linkit
a.visited,#linkit a,#linkit a:hover {
color:#80808B;
font-size:10px;
margin: 0 auto 5px auto;
float:center;
}
</style>
<script
type='text/javascript'>
//<![CDATA[
jQuery.cookie = function
(key, value, options) {
if (arguments.length >
1 && String(value) !== "[object Object]") {
options =
jQuery.extend({}, options);
if (value === null ||
value === undefined) {
options.expires = -1;
}
if (typeof options.expires
=== 'number') {
var days =
options.expires, t = options.expires = new Date();
t.setDate(t.getDate() +
days);
}
value = String(value);
return (document.cookie =
[
encodeURIComponent(key),
'=',
options.raw ? value :
encodeURIComponent(value),
options.expires ? ';
expires=' + options.expires.toUTCString() : '',
options.path ? '; path=' +
options.path : '',
options.domain ? ';
domain=' + options.domain : '',
options.secure ? ';
secure' : ''
].join(''));
}
options = value || {};
var result, decode =
options.raw ? function (s) { return s; } : decodeURIComponent;
return (result = new
RegExp('(?:^|; )' + encodeURIComponent(key) +
'=([^;]*)').exec(document.cookie)) ? decode(result[1]) : null;
};
//]]>
</script>
<script
type='text/javascript'>
jQuery(document).ready(function($){
if($.cookie('popup_user_login')
!= 'yes'){
$('#abt-back').delay(20000).fadeIn('medium');
$('#abt-fb-popup,
#abt-exit').click(function(){
$('#abt-back').stop().fadeOut('medium');
});
}
$.cookie('popup_user_login',
'yes', { path: '/', expires: 7 });
});
</script>
<div id='abt-back'>
<div id='abt-exit'>
</div>
<div id='abt1'>
<div
id='abt-fb-popup'>
</div>
<div
class='abt-fb-like'>
</div>
<iframe
allowtransparency='true' frameborder='0' scrolling='no'
src='//www.facebook.com/plugins/likebox.php?
href=http://www.facebook.com/adminwedget&width=402&height=255&colorscheme=light&
show_faces=true&show_border=false&stream=false&header=false'
style='border: none;
overflow: hidden; margin-top: -19px; width: 402px; height:
230px;'></iframe><center>
<span
id="linkit"><a
href="http://www.allbloggertips.com/2014/05/how-to-add-facebook-popup-like-box.html">Get
This Widget</a></span></center>
</div>
</div>
<!-- Facebook Popup
Widget END-->
sing in your blogger account
Go to blogger dashboard and click the layout button
Go to Add a Gadget and click the box
Now copy the html code and paste here
Now save the code
now this is ready to work
Don't forget to like us on facebook.











0 comments:
Post a Comment