Friday, August 22, 2014

Add CSS Brick/Box Cloud Style Label Widget To Blogger

Leave a Comment
label cloud
Blogger Labels helps to define articles into different categories. Labels are easy way to make clear navigation through whole blog. In this tutorial i will explain you have to add brick style labels in your blog. which helps to give attractive and stylish look to blog labels. This widget is totally made from css3 and take less time to load. Before implementation of this widget make sure that you have already added the label list in page elements. If you are not using labels then simply add label in layout and also change them into from list into cloud view

Steps To Use This widget

  • Change Label List view Into Cloud View just by editing the label widget in layout.
  • Then Go to Template section of your blog.
  • Click on Edit HTML and then paste below code just above ]]></b:skin>

/*CSS3 Bricks Style Labels By www.SafeTricks.com/ */

#textwidget {
color: #666;
font-size: 0.925em;
font-style: italic;
line-height: 1.6em
}

a.tag {
color: #777;
font: 9px verdana;
text-transform: uppercase;
transition: border-color .218s;
background: #f4f4f4;
background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
display: inline-block;
text-shadow: 0 1px 0 #fff;
-webkit-transition: border-color .218s;
-moz-transition: border .218s;
-o-transition: border-color .218s;
transition: border-color .218s;
background: #f3f3f3;
background: -webkit-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
background: -moz-linear-gradient(linear, 0% 40%, 0% 70%, from(#F5F5F5), to(#F1F1F1));
border: solid 1px #ccc;
border-radius: 2px;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
margin: 0 4px 4px 0;
padding: 3px 5px;
text-decoration: none
}

a.tag:hover {
color: #333;
border-color: #999;
-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) -webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
box-shadow: 0 1px 2px rgba(0,0,0,0.15)
}

a.tag:active {
color: #000;
border-color: #444
}

.slides {
font-size: 85%;
line-height: 130%;
overflow: hidden;
padding: 0;
margin: 30px 0 10px;
border-bottom: 1px solid #000
}
/*CSS3 Bricks Style Labels By www.SafeTricks.com/ */


    • Now Search for Label1 and click on counting to close widget and it will look like
    <b:widget id='Label1' locked='false' title='Labels' type='Label'>...</b:widget>
      • After finding above matching code Simply replace it from <b:widget>    </b:widget>with below code 

        
        <b:widget id='Label1' locked='false' title='Labels Cloud' type='Label'>
        <b:includable id='main'>
        <b:if cond='data:title'>
        <h2>
        <data:title/>
        </h2>
        </b:if>
        <div class='textwidget'>
        <div expr:class='&quot;widget-content &quot; + data:display + &quot;-label-widget-content&quot;'>
        <b:if cond='data:display == &quot;list&quot;'>
        <ul>
        <b:loop values='data:labels' var='label'>
        <li>
        <b:if cond='data:blog.url == data:label.url'>
        <span expr:dir='data:blog.languageDirection'>
        <data:label.name/>
        </span>
        <b:else/>
        <a class='tag' expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
        </b:if>
        <b:if cond='data:showFreqNumbers'>
        <span dir='ltr'>(
        <data:label.count/>)</span>
        </b:if>
        </li>
        </b:loop>
        </ul>
        <b:else/>
        <b:loop values='data:labels' var='label'>
        <span expr:class='&quot;label-size label-size-&quot; + data:label.cssSize'>
        <b:if cond='data:blog.url == data:label.url'>
        <span expr:dir='data:blog.languageDirection'>
        <data:label.name/>
        </span>
        <b:else/>
        <a class='tag' expr:dir='data:blog.languageDirection' expr:href='data:label.url'><data:label.name/></a>
        </b:if>
        <b:if cond='data:showFreqNumbers'>
        <span class='label-count' dir='ltr'>(
        <data:label.count/>)</span>
        </b:if>
        </span>
        </b:loop>
        </b:if>
        <b:include name='quickedit' />
        </div>
        </div>
        </b:includable></b:widget>
        
          • After replacing save template settings and visit blog and see widget.
          I hope you can easily able to implement this gadget to your blog without any issue. Otherwise If you face any problem must ask me in below comments.
          Read More...

          Thursday, August 21, 2014

          Automatic Read More Button With Image Thumbnail For Blog Post

          Leave a Comment
          Creating a Summarized paragraph is very important part for every blog. This is because it helps to shortening the length of our homepage and also reduce the loading speed. Suppose if have 10 posts on homepage without any short paragraph and no read more option and someone visit it, Then how they feel you can also imagine.
          So here i am going to provide you a best method of creating automatic paragraph with read more button and also with image thumbnail. Which make your blogs look best and also help to reduce loading speed. This is because by default blogger template do not provide this kind of features. so in that condition you have to add these scripts manually.

          Summary with read more

          How To Create Automatic Summary For Blogger Post ?


          Here i am going to start this tutorial. Be careful while implementation of below codes.

          • Go To Blogger Dashboard >> Template
          • Before Proceeding Firstly Backup your present template from the Backup/Restore button From Template section.
          • Now Click on Edit HTML
          • Now do Ctrl+F And Search For  </head>
          • Now Paste Below Script Just above </head> Section

          
          <script type='text/javascript'>var thumbnail_mode = "no-float" ;
          summary_noimg = 430;
          summary_img = 340;
          img_thumb_height = 100;
          img_thumb_width = 120;
          </script>
          <script type='text/javascript'>
          //<![CDATA[
          function removeHtmlTag(strx,chop){
          if(strx.indexOf("<")!=-1)
          {
          var s = strx.split("<");
          for(var i=0;i<s.length;i++){
          if(s[i].indexOf(">")!=-1){
          s[i] = s[i].substring(s[i].indexOf(">")+1,s[i].length);
          }
          }
          strx = s.join("");
          }
          chop = (chop < strx.length-1) ? chop : strx.length-2;
          while(strx.charAt(chop-1)!=' ' && strx.indexOf(' ',chop)!=-1) chop++;
          strx = strx.substring(0,chop-1);
          return strx+'...';
          }
          
          function createSummaryAndThumb(pID){
          var div = document.getElementById(pID);
          var imgtag = "";
          var img = div.getElementsByTagName("img");
          var summ = summary_noimg;
          if(img.length>=1) {
          imgtag = '<span style="float:left; padding:0px 10px 5px 0px;"><img src="'+img[0].src+'" width="'+img_thumb_width+'px" height="'+img_thumb_height+'px"/></span>';
          summ = summary_img;
          }
          
          var summary = imgtag + '<div>' + removeHtmlTag(div.innerHTML,summ) + '</div>';
          div.innerHTML = summary;
          }
          
          //]]>
          </script>

          • After Pasting Above Script Now Search For <data:post.body/>
          • This code may comes 3,4 times in your Template. We have to choose which at 2nd place. If Our script don't them try it on others codes also.
          • After Searching this code <data:post.body/>  Replace it with the below codes
           
          
          <b:if cond='data:blog.pageType == "item"'>
          <data:post.body/>
          <b:else/>
          <b:if cond='data:blog.pageType == "static_page"'>
          <data:post.body/>
          <b:else/>
          <div expr:id='"summary" + data:post.id'><data:post.body/></div>
          <script type='text/javascript'> createSummaryAndThumb("summary<data:post.id/>");
          </script>
          <a class='more' expr:href='data:post.url'>Read more >></a>
          </b:if>
          </b:if>
          

          • Now Save Your Template and You have done the all steps. 
          I hope you like this Simple Image Gallery. If you want to know more about any changes or Face any problem Feel free to leave your precious comment.
          Read More...

          How To Add Stylish Drop Down Menu In Blogger

          Leave a Comment

          Adding menus, Nav or any type of Page list in blog of different categories is very important. Its helps our users to find any particular topic for any particular category easily. These menus also given professional effect to our blogs and helps to arrange different labels or categories. So today i decide to introduce the menu bar for blog with drop down features which helps to add different labels or pages according to their categories. This menu bar is made by simple CSS codes with basic HTML. I hope you like this menu bar and also want to add them on your blog before proceeding i recommend everyone to take look on this menu on our demo page from below button.

          drop down menu

          Steps To Add Drop Down Menu in Blogger



          • Open Your Blogger Dashboard >> Then Template Section
          • Now Click on Edit HTML
          • Then click in coding box and search by Ctrl+f for the code which look like ]]></b:skin>
          • After searching Paste the below code just Above/Below the  ]]></b:skin>  code

          
          #ST-Container {
          font: normal 1em Arial, Helvetica, sans-serif;
          width:100%; float:left;   
          }
          a {
          color: #333;
          }
          #menu {
          margin: 0;
          padding: -1px 6px 0;
          width:900px;
          position:relative;
          height:33px;
          z-index:300;
          padding-left:12px;
          background:#000 left top repeat-x;
          -moz-border-radius:15px;-khtml-border-radius:15px;
          -webkit-border-radius:15px;
          border-radius:15px; 
          }
          #menu li {
          margin: 0 0px;
          padding: 0 0 8px;
          float: left;
          position: relative;
          list-style: none;
          border-right: 1px solid #fff }
          
          #menu a {
          font-weight: bold;
          color: #ffffff;
          text-decoration: none;
          display: block;
          padding:  8px 20px;
          margin: 0;
          -webkit-border-radius: 1.6em;
          -moz-border-radius: 1.6em;
          text-shadow: 0 1px 1px rgba(0,0,0, .3);
          }
          #menu a:hover {
          background: #26abe3;outline:0
          color: #fff;
          }
          /* sub levels link hover */
          #menu ul li:hover a, #menu li:hover li a {
          background: none;
          border: none;
          color: #000;
          -webkit-box-shadow: none;
          -moz-box-shadow: none;
          }
          #menu ul a:hover {
          background: #26abe3 url() repeat-x 0 -100px !important;
          color: #fff !important;
          text-align:left;
          -webkit-border-radius: 0;
          -moz-border-radius: 0;
          text-shadow: 0 1px 1px rgba(0,0,0, .1);
          }
          /* dropdown */
          #menu li:hover > ul {
          display: block;
          }
          #menu ul 
          {
          display: none;
          text-align:left;
          margin: 0;
          padding: 0;
          width: 185px;
          position: absolute;
          top: 35px;
          left: 0;
          background: #ddd url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg00qHjlch_pjSFT08ykbt8snQ06zYO3d1ed3a7ko0VG7UAELjEUTcIf5Jh5tSR_lVz1F5yJolve60F3RJVpPdliXCzYKZ-6Ufm_fRwq0rba-c9vdxru6q7QjnRT7DaSOGuuWpYTbcvwUc/s1600/gradient.png) repeat-x 0 0;
          border: solid 1px #b4b4b4;
          -webkit-border-radius: 10px;
          -moz-border-radius: 10px;
          border-radius: 10px;
          -webkit-box-shadow: 0 1px 3px rgba(0,0,0, .3);
          -moz-box-shadow: 0 1px 3px rgba(0,0,0, .3);
          box-shadow: 0 1px 3px rgba(0,0,0, .3);
          }
          #menu ul li 
          {
          float: none;
          margin: 0;
          padding: 0;
          }
          #menu ul a 
          {
          font-weight: normal;
          text-shadow: 0 1px 0 #fff;
          }
          /* level 3+ list */
          #menu ul ul 
          {
          left: 181px;
          top: -3px;
          }
          #menu ul li:first-child > a {
          -webkit-border-top-left-radius: 9px;
          -moz-border-radius-topleft: 9px;
          -webkit-border-top-right-radius: 9px;
          -moz-border-radius-topright: 9px;
          }
          #menu ul li:last-child > a {
          -webkit-border-bottom-left-radius: 9px;
          -moz-border-radius-bottomleft: 9px;
          -webkit-border-bottom-right-radius: 9px;
          -moz-border-radius-bottomright: 9px;
          }
          #menu:after {
          content: ".";
          display: block;
          clear: both;
          visibility: hidden;
          line-height: 0;
          height: 0;
          }
          #menu {
          display: inline-block;
          }
          
          

            • Now be careful while following below steps. If your blog already having any menu bar then replace its coding otherwise follow below steps
            • Now search for the Code which look similar like <div id='header'>
            • If you will able to find this code successfully then click on numbering tab to close its coding as shown in below image
            drop down menu

            • After Closing coding of header part just below it paste the below given codes

            
            <div id='ST-Container'>
            <ul id='menu'>
            <li class='current'><a href='http://www.safetricks.net/'>Home</a></li>
            <li><a href='#'>Page 1</a>
            <ul>
            <li><a href='#'>Item 1</a></li>
            <li><a href='#'>Item 2</a></li>
            <li><a href='#'>Item 3</a></li>
            </ul></li>
            <li><a href='#'>Page 2</a>
            <ul>
            <li><a href='#'>Item 1</a></li>
            <li><a href='#'>Item 2</a></li>
            <li><a href='#'>Item 3</a></li>
            </ul></li>
            <li><a href='#'>Page 3</a>
            <ul>
            <li><a href='#'>Item 1</a></li>
            <li><a href='#'>Item 2</a></li>
            <li><a href='#'>Item 3</a></li>
            </ul></li>
            <li><a href='#'>Page 4</a>
            <ul>
            <li><a href='#'>Item 1</a></li>
            <li><a href='#'>Item 2</a></li>
            <li><a href='#'>Item 3</a></li>
            </ul></li>
            li><a href='http://www.safetricks.net/'>Create This</a></li>   
            </ul></div> 
            
            
            • Now replace # with your pages or label links
            • After Pasting Both codes click on Save Button of you Template.
            • Now refresh your blog and watch this menu bar live on your blog.

            I hope You like this menu bar tutorial and hope you will successfully able to add it. But if you face any kind of problem in this menu don't forget to inform in comment box
            Read More...

            Wednesday, August 20, 2014

            How To Change Design And Background Of Blogger Comment Box

            Leave a Comment
            In every content based blog comment region is very much important because comment at as discussion place for each and every topic. Every blogger always try to encourage their reader to do comment even me also to ask their problems in comments because comments increase post experience better and also helps to increase word strength and back links. So it is necessary to give attractive and better look to default comments. 
            Today in this post i will discuss about how you can change your comment box look and its background easily. It is very simple and easy to change the theme of comment box by adding simple css code. Which given Thunders

            Steps To Change Comment Box


            • Go To Blogger Dashboard >> Then Template Section
            • Now Click on the Edit HTML Button
            • Search For code which look like ]]></b:skin>
            • Then paste below code just Above/Before the code we search

            
            #ST-cbox iframe{
            background:#ffffff url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYCAxYgxJ3oTNkhJLbb5nxF7x_hu4U7375YC6RcDfWLeVxMf9nAgiCEhG_p1ug8BPdZRoSDxpktPE8tuPW6TMf64ZaetXC51VNMjS80qEZIf3ry353mNqmx79WC56W_OyYuFu8PD5hxag/s640/thunder.gif) repeat;
            border:1px solid #ddd;
            -moz-border-radius:6px;
            -webkit-border-radius:6px;
            box-shadow: 5px 5px 5px #CCCCCC;
            padding:5px;
            font:normal 12pt "ms sans serif", Arial;
            color:#2F97FF;
            width:560px; height:213px !important;
            }
            #ST-cbox a{
            color:#fff;
            } 
            

            • Now search for the code <div class='comment-form'>
            • After finding above replace it with below code

                 <div id='ST-cbox'>
            

              • After Pasting code Save Template settings
              • Now refresh your blog and see the changes on your comment box.

              If you want to replace the background image simple replace the image URL link with users.

              I hope you will be able change your comment box successfully. If you face any kind of problem feel free to ask me in comments.
              Read More...

              Create Specific Label Sitemap Page For Blogger

              Leave a Comment
              Blogging is best way to share our thoughts, views and experience with worldwide users. In every blog or website clear navigation is necessary because if your site users and visitors face difficulty while accessing Your articles then its a great loss of your precious hard work because if someone not able to easily find and read articles then how they know what you have posted so its necessary to create a simple sitemap page for all blogger post. By creating sitemap page you will link to many different post within single post.This will helps your to reduce your site bounce rate, increase Page view and PageRank also.
              In this article i will help to create an simple sitemap page just based on specific labels within a single page. This will help you to create a collection of articles automatically according to particular label.
              If you want to create sitemap page just follow below given simple steps.

              Steps To create Sitemap Page

              • Open Your Blogger Dashboard >> Then open your blog
              • Go to Pages tab >> Create blank page
              • Switch To Edit HTML in page editor.
              • Then copy and paste below code
              
              <script type="text/javascript">
              var numposts = 100;
              var standardstyling = true;
              
              function showrecentposts(json) {
              for (var i = 0; i < numposts; i++) {
              var entry = json.feed.entry[i];
              var posttitle = entry.title.$t;
              var posturl;
              if (i == json.feed.entry.length) break;
              for (var k = 0; k < entry.link.length; k++) {
              if (entry.link[k].rel == 'alternate') {
              posturl = entry.link[k].href;
              break;
              }}
              posttitle = posttitle.link(posturl);
              if (standardstyling) document.write('<li>');
              document.write(posttitle);}
              if (standardstyling) document.write('</li>');
              }
              </script>  
              
              <ul>
              <h3>Blogger Tricks</h3>
              <script src="http://www.Juketricks.blogspot.com/feeds/posts/default/-/Blogger?orderby=published&amp;alt=json-in-script&amp;callback=showrecentposts&amp;max-results=999"></script>
              </ul> 
              

              Replace 

              Blogger Tricks with title name you want 

              Juketricks.blogspot.com with your blog URL

              Blogger with your label name whose post you want to add.
              • Make sure you and all the words same to your label, add them accurately according to uppercase or lowercase.
              • In case of two words in label add them in this format  Your%20Label.
              • If you want to add others labels also in the same page simple copy code from <ul> -- </ul> from bottom and replace label and and place them just below the above coding then two different label post will start appearing in same post.
              • Don't switch back to compose mode until you publish it.
              I hope you like this amazing way to create simple sitemap page for blogger. If you have any question must leave your comment.
              Read More...

              Tuesday, August 19, 2014

              Facebook Popup (Like Box Widget)

              Leave a Comment

              Here's a fantastic way to increase facebook likes for your blog or website.  Add this enticing widget to your site and a facebook like box will pop up with the lightbox effect when a user visits your page.  The facebook widget will show up on your page about 20 seconds after the page loads (but can be customized).  This is a surefire way to dramatically increase your likes



              Add Widget to Your Site

              Add the following code anywhere in the body section of your template. Or simply click the "add to blogger" button for blogspot blogs.  For Wordpress themes, Weebly templates, and Tumblr, you will need to manually copy and paste the script into your template.  
              
              <!-- Facebook Popup Widget START --><!-- Brought to you by www.JasperRoberts.com - www.juketricks.blogspot.in -->
              <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'></script>
              <style>
              #fanback {
              display:none;
              background:rgba(0,0,0,0.8);
              width:100%;
              height:100%;
              position:fixed;
              top:0;
              left:0;
              z-index:99999;
              }
              #fan-exit {
              width:100%;
              height:100%;
              }
              #JasperRoberts {
              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;
              }
              #TheBlogWidgets {
              float:right;
              cursor:pointer;
              background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgG1VI6zbCK5RMWynUtGrk6VwHdiNfdufVoWxXJ1NTvRb0IbO3Af7wP-TriJaLuS7BjFwUhRo6U-3K1C0l5uNSCrWxThXywzNUdF-c8wIAV21nsfb3OzlNwn335aww9ALiaWafS3OTWCF7G/s1600/TheBlogWidgets.png) repeat;
              height:15px;
              padding:20px;
              position:relative;
              padding-right:40px;
              margin-top:-20px;
              margin-right:-22px;
              }
              .remove-borda {
              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) {
              
              // key and at least value given, set cookie...
              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() : '', // use expires attribute, max-age is not supported by IE
              options.path ? '; path=' + options.path : '',
              options.domain ? '; domain=' + options.domain : '',
              options.secure ? '; secure' : ''
              ].join(''));
              }
              
              // key and possibly options given, get cookie...
              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'){
              $('#fanback').delay(20000).fadeIn('medium');
              $('#TheBlogWidgets, #fan-exit').click(function(){
              $('#fanback').stop().fadeOut('medium');
              });
              }
              $.cookie('popup_user_login', 'yes', { path: '/', expires: 7 });
              });
              </script>
              
              <div id='fanback'>
              <div id='fan-exit'>
              </div>
              <div id='JasperRoberts'>
              <div id='TheBlogWidgets'>
              </div>
              <div class='remove-borda'>
              </div>
              <iframe allowtransparency='true' frameborder='0' scrolling='no' src='//www.facebook.com/plugins/likebox.php?
              
              href=http://www.facebook.com/theblogwidgets&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 style="color:#a8a8a8;font-size:8px;" id="linkit">Powered by <a rel="nofollow" style="color:#a8a8a8;font-size:8px;" href="http://jasperroberts.com">Jasper Roberts Consulting</a> - <a style="color:#a8a8a8;font-size:8px;" href="http://www.juketricks.blogspot.in">Widget</a></span></center>
              </div>
              </div>
              <!-- Facebook Popup Widget END. Brought to you by www.JasperRoberts.com - www.juketricks.blogspot.in -->
              
              

              How to Customize

              Where to find the code?
              If you've installed the widget by clicking "Add to Blogger" you'll need to locate the code in order to make customizations. In order to find the html go to the blogger dashboard>Layout. Click "edit" on the "HTML/Javascript" gadget.

              Enter your facebook username
              Search for http://www.facebook.com/theblogwidgets and replace it with your site's facebook page URL.

              Change the 20 Second Time Delay
              By default the widget pops up 20 seconds after the page finishes loading.  Search for the code below and change the number 20000 to a greater or lesser number. 
              1 second = 1000.  10 seconds = 10000. 60 seconds = 60000. 



              
              .delay(20000)
              


              Popup every time the page loads 
              By default, the like box widget only shows up the first time the user visits your page.  If you would like the facebook box to popup every time the page loads, then remove this line of code: 

              
              $.cookie('popup_user_login', 'yes', { path: '/', expires: 7 });
              

              Display only when user visits your homepage
              You can do this by surrounding the widget code with these conditional tags below. Go toTemplate > Edit HTML. Now search for the </body> tag. Place the facebook popup widget right above this body tag.  Make sure to include the conditional tags below. 
              
              <b:if cond='data:page.type == "index"'>
              REPLACE-WITH-FACEBOOK WIDGET-CODE-HERE
              </b:if>
              

              Having trouble seeing the facebook widget?

              By default, this facebook like box widget is only displayed once every 30 days. You may need to delete your cookies if you would like to see it again.  Or check out the "How to Customize" section above, in order to display the widget every time a user visits your site. 

              If you're still having trouble with the popup widget, please leave a comment below.  I am happy to help you!

              Another Facebook Like Box Widget...

              You should also check out the Floating Facebook Like Box.  Conveniently located on the right side of the web page; your visitors will be able to like your facebook page at any time.
              Read More...

              Floating Facebook Like Box Widget For Your Website

              Leave a Comment

              Are you struggling to get more facebook likes? Add a floating facebook like box to your blog or website.  The widget remains in a fixed position on the right-hand side of your site.  When you hover over the blue facebook image, the like box will then slide and reveal itself using jquery.


              View Demo

              You can see a demonstration of this facebook widget on the right side of this page. Hover over the facebook image with your mouse. A facebook like box should appear. 

              Add Widget to Your Site

              Step 1
              Add the following code anywhere in the body section of your template. Or simply click the "add to blogger" button for blogspot blogs. 

              
              <!--Floating Facebook Widget by www.juketricks.blogspot.in START-->
              <script type="text/javascript"> /*<![CDATA[*/ jQuery(document).ready(function() {jQuery(".theblogwidgets").hover(function() {jQuery(this).stop().animate({right: "0"}, "medium");}, function() {jQuery(this).stop().animate({right: "-250"}, "medium");}, 500);}); /*]]>*/ </script> <style type="text/css"> .theblogwidgets{background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKZmEMxKr_s170gB8cGa0Si0WJebyouVXpl3h18mRnuJDK0C0zd5zPvIcduxXEaT5pJu-IFyGN_sdEQEzQ3EG5XAO356l-39eXafsZ1BhHqQBIZblOk3Tx0nE2FtwoIslOQEjzMbS4s0Uw/") no-repeat scroll left center transparent !important; float: right;height: 270px;padding: 0 5px 0 46px;width: 245px;z-index:  99999;position:fixed;right:-250px;top:20%;} .theblogwidgets div{ padding: 0; margin-right:-8px; border:4px solid  #3b5998; background:#fafafa;} .theblogwidgets span{bottom: 4px;font: 8px "lucida grande",tahoma,verdana,arial,sans-serif;position: absolute;right: 6px;text-align: right;z-index: 99999;} .theblogwidgets span a{color: gray;text-decoration:none;} .theblogwidgets span a:hover{text-decoration:underline;} } </style><!--Brought to you by www.juketricks.blogspot.in--><div class="theblogwidgets" style="">
              <!--Brought to you by http://www.juketricks.blogspot.in/2013/11/floating-facebook-like-box-widget-for.html--><div>
              <!-- http://www.juketricks.blogspot.in/2013/11/floating-facebook-like-box-widget-for.html--> <iframe src="http://www.facebook.com/plugins/likebox.php?href=http%3A%2F%2Ffacebook.com%2Ftheblogwidgets&width=245&colorscheme=light&show_faces=true&border_color=white&connections=9&stream=false&header=false&height=270" scrolling="no" frameborder="0" scrolling="no" style="border: white; overflow: hidden; height: 270px; width: 245px;background:#fafafa;color:000;"><!--Brought to you by www.juketricks.blogspot.in--></iframe><!--Brought to you by www.juketricks.blogspot.in--><span><!--Brought to you by www.juketricks.blogspot.in--><center>
              <a rel="nofollow" style="color:#a8a8a8;font-size:8px;" href="http://jasperroberts.com">Jasper Roberts Consulting</a> - <a style="color:#a8a8a8;font-size:8px;" href="http://www.juketricks.blogspot.in/2013/11/floating-facebook-like-box-widget-for.html">Widget</a></center>
              </span></div>
              </div>
              <!--Floating Facebook Widget by www.juketricks.blogspot.in AND www.JasperRoberts.com END-->
              
              
              Step 2
              If the floating facbook widget is not working properly after step 1, then you need to add jquery to your site. Follow the instructions below. 
              1.  Go to Design>Edit HTML
              2. Search for <head> and just below it paste the following JQuery code. 



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

              How to Customize

              Where to find the code?
              In order to find the html go to the blogger dashboard>Layout. Click "edit" on the "HTML/Javascript" gadget.

              Enter your facebook username
              Search for the line of code below and replace theblogwidgets with your own facebook page username. If you don't have a username you can easily create your own here. 
              
              facebook.com%2Ftheblogwidgets
              

              How May I Help You?

              If you're still having problems with the getting the facebook box to display properly, let me know. Comment below and I will be happy to assist you.

              Read More...