Add jQuery LIGHTBOX Popup Facebook Likebox To Blogger New

How To Add A Awesome Facebook Fan Page JavaScript For Blogger

I had given to Facebook as jQuery popup box and jQuery to facebook emerging as the box with the background image in my previous post, if you are new here, that the first visit, now I'm back with the same widget, just change the background image and the size of this widget. I just tried this and I hope you enjoyed it.

Step 1: Adding Static Facebook Pop Out Like Box Widget To Blogger layout.
Now let's start adding it...

Step 2: Login to Your Blogger Account.Go to your Blogger Dashboard>Layout>Add a Gadget.

Step 3: After click on Add a Gadget link A pop-up box will open now


Select "HTML/JavaScript" from the gadget options by clicking the blue plus sign for that gadget.

Step 4: Select 'HTML/Javascript' and add the one of code given below.

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>


<link rel="stylesheet" type="text/css" href="http://dl.dropboxusercontent.com/s/75xazflx9vkfkmh/lightbox-style-popup-facebook-likebox-widget-01.css" /><script src="http://dl.dropboxusercontent.com/s/7bcjeubaenpmbf9/facebook-colorbox-v1.3.19.js"></script><script type="text/javascript"> jQuery(document).ready(function(){ if (document.cookie.indexOf('visited=true') == -1) { var fifteenDays = 1000*60*60*24*30; var expires = new Date((new Date()).valueOf() + fifteenDays); document.cookie = "visited=true;expires=" + expires.toUTCString(); $.colorbox({width:"400px", inline:true, href:"#subscribe"}); } }); </script><a href="http://myblog-widgets.blogspot.com/" rel="dofollow" target="_blank" title="My Blog Widgets"><img src="https://bitly.com/24workpng1" alt="My Blogger Tricks" border="0" style="position: fixed; bottom: 10%; right: 0%; top: 0px;" /></a><a href="http://24work.blogspot.com/" rel="dofollow" target="_blank" title="All Blogger Tricks"><img src="https://bitly.com/24workpng1" alt="My Blog Widgets" border="0" style="position: fixed; bottom: 10%; right: 0%;" /></a><a href="http://myblog-widgets.blogspot.com" rel="dofollow" target="_blank" title="Techtunes"><img src="https://bitly.com/24workpng1" alt="Techtunes" border="0" style="position: fixed; bottom: 10%; left: 0%;" /></a> <div style='display:none'><div id='subscribe' style='padding:10px; background:#fff;'><center><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEbOAf5Ehh8BA7P1HZLfjT0kiH-8oXVHqxGxBbpPzKHiMpG56QbIBJ9AW4evpPnDTtaHXjf5_I-o5GYHnZg4Q2OAEpeQtXHHjxCUQocqqJks-F0aoVj7ZyyAgkh1GKDZahA1-oE4oUPqKg/s1600/LikeUsOnFacebook.png" width:300px; height:150px;"/></center><center><iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Fwww.facebook.com%2FOfficial.MyBlogWidgets&amp;width=300&amp;colorscheme=light&amp;show_faces=true&amp;border_color=%23ffffff&amp;stream=false&amp;header=false&amp;height=258" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:300px; height:258px;" allowtransparency="true"></iframe>

</center>
</div>
</div>

Note: If your template already have a jquery do not put again, just copy after it
Html from above a few things could be replaced.
<script src="http://code.jquery.com/jquery-1.10.2.min.js"></script>

Step 5: Customize Field Replace "Official.MyBlogWidgets" with your own facebook page name (Not your own profile name)

Customization:

The widget saves up a cookie in the visitors computer. You can change the frequency after which the widget would appear to the visitor. Simply change the number 30 to the number of days your wish. Say you want your widget to reappear after 30 days after the first time. Than change 30 to 7.

Step 6: Now Click On Save 'JavaScript' You are done.
Add jQuery LIGHTBOX Popup Facebook Likebox To Blogger New Add jQuery LIGHTBOX Popup Facebook Likebox To Blogger New Reviewed by Danish Yaqoob on 05:04:00 Rating: 5

No comments

Thanks for your comment.Keep visiting for latest updates from us.
Moreover, Subscribe Now!



FB Instagram Twitter Google+