Wednesday, April 27, 2011

How to Add 4 in 1 Follow Widget

0 comments
Hello, bloggers! Previously, I've posted about Add Flapper Social Bookmarking Widget. Now, I will post about How to Add 4 in 1 Follow Widget. Maybe it sounds like Add Mini 5 in1 Share Widget. Hoax...forget it. OK, back to this widget, this widget has some features such as 4 social icons (Facebook, Twitter, mail letter, and RSS feed), jQuery tooltip, and fresh design. Shortly, if you want to try 4 in 1 Follow Widget, just follow the steps below. Need a DEMO?

1. Log in to your blogger account
2. Go to Design --> Edit HTML
3. Copy the code below, and paste above </body>

<script type='text/javascript'>
window.setTimeout(function() {
document.body.className = document.body.className.replace(&#39;loading&#39;, &#39;&#39;);
}, 10);
</script>

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {

$('#social li').each(function() {

var $li = $(this);
var title = $li.find('a').attr('title');

$li.find('a').removeAttr('title');

$('<span class="tooltip"/>').text(title).appendTo($li.find('a')).hide();


$li.find('a').mouseover(function() {


var top = $(this).position().top;
var left = $(this).position().left;

$(this).find('span').fadeIn()({
top: top,
left: left
}, 'slow');

});

$li.find('a').mouseout(function() {


$(this).find('span').fadeOut('slow');


});

});


});

//]]>
</script>

4. Click SAVE TEMPLATE
5. Go to Design --> Page Elements --> Add Gadget
6. Choose "HTML/Java Script"
7. Add the code below, and customize first

<style text-type="CSS">

  #social {
  width: 98%;
  height: 45px;
  margin: 0;
  padding: 10px 5px 5px 30px;
  list-style: none;
  border-right:solid 1px #853529;
  position: relative;
  background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit_19AsqgUSqRZEGvzg9ekEDLAUEycfls8xCNiHRExIapHj24HsA0L61-B2-RTSTjbMEalbMr_NN85YoI7Eqs56RQc5OS9msqngxfKMch0PvTqcLbSvyrSWYIhICC33Knx5TJGwLXq7b8/) no-repeat left top;
  }

#social p{
  font-size:1.5em;
  color:#FFFB98;
  font-weight:bold;
  float:left;
  margin: 10px 10px 0 0;
  text-shadow: 1px 1px 0px #000000;
  filter: dropshadow(color=#000000, offx=1, offy=1);
  }

.abt{
  font-size:0.8em;
  color:#787878;
  float:right;
  margin: 0 -30px 0 0;
  text-shadow: 1px 1px 0px #ffffff;
  filter: dropshadow(color=#ffffff, offx=1, offy=1);
  }

#social li {
  width: 32px;
  height: 32px;
  float: left;
  margin-right: 3px;
  }

#social li a {
  float: left;
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -1000em;
  background-repeat: no-repeat;
  text-decoration: none;
  }

#social #rss {
  background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4_rvmxWyyriE-aQyApbfYz0h0jWwoo-LajFwb835OZ0T34c9YmTCj70Kzijw9cu9C0GVz0ipTkjPECb8F-B262cBoAomURdqULdVODngJSeNbHjs5yjMpqBQUTc8zhHKRZFWJnVB2TjY/s400/allblogtools_rss.png);
  }

#social #facebook {
  background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhReP_raeHHPcvw9Bu4ncMMLRyVRBq2LRp40iEMvHboppUFE6o5G7D3ZoGp-uSg3wQfzUTKUhr2Mfibt6sliY_fslHch66-xz5TUEwfv0CyW_iT5CHHmTdLU1YSI4K4C37YvmpePmGwMYw/s400/allblogtools_facebook.png);
  }
  #social #twitter {
  background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnJNjjiLf5-SqVqRIxA3wl0jasX0RKi2cZd9xfVZaYagrw_OlLt2fp6iJAh_-du22qw40YYEgd2gOqOTDAVyuxwTmsone3BXEkATP3VboOMUgd3rNi-EBca49egYdofLSsjhu5baZH1GQ/s400/allblogtools_twitter.png);
  }
  #social #mail {
  background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjwu4yv46JCeYOqZZt1bd981me9CUTRJTE2LnmQBre5Xyi08KL5V4DqvbcatHa6k2vM_ijdczQDUA6vUj6EPRXMePlOBrQI9m1ASv6eSuApdiUolkCeE5cjYLtZr0VsPcMnpP9LnFpBDko/s400/allblogtools_email.png);
  }

span.tooltip {
  background: #575757;
  padding: 3px;
  display: block;
  width: 140px;
  border: 1px solid #000000;
  position: absolute;
  margin-top:-40px;
  color: #F0F0F0;
  font-size:10px;
  text-indent: 0;
  font: Arial, sans-serif;
  text-align: center;
  -webkit-box-shadow: inset 2px 2px 2px #616161;
  -moz-box-shadow: inset 2px 2px 2px #616161;
  box-shadow: inset 2px 2px 2px #616161;
  -moz-border-radius: 5px;
  border-radius: 5px;
  }
</style>

<ul id="social">
  <p>Follow Us </p>
  <li><a href="http://BLOG-NAME.blogspot.com/feeds/posts/default?alt=rss" id="rss" title="Follow Our Feeds">Rss</a></li>

<li><a href="MailLink#" id="mail" title="Subscribe To Our News Letter">Mail</a></li>

<li><a href="FaceBookLink#" id="facebook" title="Be Our FaceBook Fan">Facebook</a></li>

<li><a href="TwitterLink#" id="twitter" title="Follow Us On Twitter">Twitter</a></li>
  </ul>
<b class="abt"><a href="http://full-tricks.blogspot.com/2011/04/how-to-add-4-in-1-follow-widget.html">Get This Widget</a></b>

8. Now click SAVE

Leave a Reply

Related Posts Plugin for WordPress, Blogger...