Thursday, 25 July 2013

Add New jQuery Popup Facebook Like Box in your blog

How are you my visitor ? I hope all are fine . I am fine . Today I am telling Add New jQuery Popup Facebook Like Box in your blog to widget . Do you have look to the post you can add facebook fan page in your blog . So if you have need help to add facebook fan page in your blog . Following the post . Now I will show " New jQuery Popup Facebook Like Box " picture :

If you have add  New jQuery Popup Facebook Like Box in your blog you can get more more likes in your facebook fan page . If you have no facebook fan page now you create a facebook fan page to see the post "how to create a facebook fan page" .
You can Edit 4 Subject in New jQuery Popup Facebook Like Box : 1. Join us on Facebook  2. Box Size 3. Auto Close Timer and 4 . Cancel Title .

How to Install jQuery Plugin : Step by Step way

1. First you go to Blogger Dashboard . 
2. Then you go to Template and click on the Edit HTML . 
3. Now you have Find the </head> tags and </head> tags above you paste this code : <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.js"></script> .

How to add New jQuery Popup Facebook Like Box in your blog: Step by Step way

1. First you go to Blogger Dashboard . 
2. Now go to Layout and click on the " Add Gedget ' . 
3. Then Click On Add a Gadget  .
4. Now Open a Box will Popup window . 
5. Select HTML/JavaScript There .
6. Now another Box will popup . 
7. Then you paste the code and Choice you to need .
. Now click on the Save arrangement .

                                    Given below Code: 

<style type='text/css'>
#makingdifferentpopup{
position: fixed;
top:100px;
z-index:9999;
display:none;
padding:0px;
right:600px;
border:10px solid rgba(82, 82, 82, 0.7);
-webkit-background-clip: padding-box; /* for Safari */
background-clip: padding-box; /* for IE9+, Firefox 4+, Opera, Chrome */
-webkit-border-radius:8px 8px 8px 8px;
-moz-border-radius:8px 8px 8px 8px;
border-radius:8px 8px 8px 8px;
width:400px;
height:360px;
overflow:hidden;
}
#makingdifferentpopup span{
font-size:20px !important;
font-weight:bold !important;
}
#makingdifferentpopup h1{
background:#6d84b4 url(http://4.bp.blogspot.com/-rNUTIpDQ21s/T0NqE_vv6GI/AAAAAAAACps/GSoWE2n9Oy8/s1600/%255Bwww.gj37765.blogspot.com%255Dh1.png) 98% no-repeat;
border:1px solid #3b5998 !important;
color:#FFFFFF !important;
font-size:20px !important;
font-weight:700 !important;
padding:5px !important;
margin:0 !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
overflow:hidden !important;
}
.htmlarea{
font-size:12px !important;
font-weight:normal !important;
height:265px !important;
padding:1px !important;
background:#fff !important;
border-bottom:2px solid #ddd;
overflow:hidden !important;
}
#mdfooter{
text-align:left;
background:#F2F2F2 !important;
height:56px !important;
padding:10px 10px 10px 10px !important;
overflow:hidden !important;
}
#mdclose{
float:right;
background-color:#eee !important;
border:1px solid #ccc !important;
color:#111 !important;
font-weight:bold !important;
padding:5px 8px 5px 8px !important;
text-decoration:none !important;
display:inline-block !important;
font-family:'"lucida grande",tahoma,verdana,arial,sans-serif !important;
outline:none !important;
position:relative !important;
font-size:18px !important;
margin:1px !important;
}
#mdclose:active{
top:1px;
left:1px;
}
.grabthis{
bottom:80px;
font:8px "lucida grande",tahoma,verdana,arial,sans-serif;
position:absolute;
right:6px;
text-align:right;
z-index: 99999;
}
.grabthis a{
color: #000;
text-decoration:none;
}
.grabthis a:hover{
text-decoration:underline;
}
</style>
<script type='text/javascript'>
jQuery(document).ready(function() {
function makingdifferent_ppopup()  {
var sec = 10
var timer = setInterval(function() {
$("#mdfooter span").text(sec--);
if (sec == 0) {
$("#makingdifferentpopup").fadeOut("slow");
clearInterval(timer);
}
},1000);
var mdwh = jQuery(window).height();
var mdpph = jQuery("#makingdifferentpopup").height();
var mdfromTop = jQuery(window).scrollTop()+50;
jQuery("#makingdifferentpopup").css({"top":mdfromTop});}
jQuery(window).fadeIn(makingdifferent_ppopup).resize(makingdifferent_ppopup)
//alert(jQuery.cookie('sreqshown'));
//var mdww = jQuery(window).width();
//var mdppw = jQuery("#makingdifferentpopup").width();
//var mdleftm = (mdww-mdppw)/2;
var mdleftm = 500;
//var mdwh = jQuery(window).height();
//var mdpph = jQuery("#makingdifferentpopup").height();
//var mdfromTop = (jQuery(window).scrollTop()+mdwh-mdpph) / 2;
jQuery("#makingdifferentpopup").animate({opacity: "1", left: "0" , left:  mdleftm}, 0).show();
jQuery("#mdclose").click(function() {
jQuery("#makingdifferentpopup").animate({opacity: "0", left: "-5000000"}, 1000).show();});});
</script>
<div id="makingdifferentpopup">
<h1>Join us on Facebook</h1>
<div>
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Fpctechbd&amp;width=400&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23fff&amp;stream=false&amp;header=false&amp;height=250" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:400px; height:250px;" allowtransparency="true"></iframe>
<div>
By <a href="http://tinyurl.com/scriptbd1" target="_blank">PC Tech BD</a> / <a href="http://tinyurl.com/scriptbd2" target="_blank">+Get This!</a>
</div>
</div>
<div id="mdfooter">
Please wait..<span>10</span> Seconds
<a href="#" id="mdclose" onclick="return false;">Cancel</a>
</div>
</div>
<!-- End popup -->

                 Changes in The Script before installing

  • Replace pctechbd in the script with your Own Facebook Fan page username.
  • For changing the Time Interval,Change var sec = 10 with your Own Desire time.
  • If you are interested in changing the height and width of the Box Change 250 and 400 in the Script
  • For Changing The Text "Join us on Facebook" just change the text with your Own.
  • Change The Text "Cancel" with your Desire text
  • Now Copy the Script and paste it into the box
  • Now click on the Save and view your site .
 No more Today . If You have any Problem ? Please tell me by Comment or You have Like this post Please tell me by Comment.

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | coupon codes