"Do You Like This Story?" - Best Blogger Widget!

Saturday, July 7, 2012 0 comments

do you like this story? blogger widget

[a href="http://zailab.blogspot.com/2011/10/do-you-like-this-story-best-widget-ever.html" rel="nofollow" target="_blank"]Live Demo[/a]

Add This Widget to BlogSpot Blogs

I have kept the installation process extremely easy so feel comfortable to try it.

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Check the "Expand Widget Templates" box
  4. Search for,

<data:post.body/>

    5.   Just below it paste the following code,


<b:if cond='data:blog.pageType == &quot;item&quot;'>

<style>
form.emailform{
margin:20px 0 0;
display:block;
clear:both;
}
.mbttext{
background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHJ0h6OTrg0nS4FaREzNBM6GvPW1_5SQx-OIMf5wJE-cNzkvzkNt0L9nw2N92huSJ2n9tSosd_crNHNaU9KLhfWfHwvLNuBkmATjvm2FOhMBrm9ApXpq_kmfy1EAVTfXc3JrIapCgloBTf/s28/w2b-mail.png) no-repeat scroll 4px center transparent;
padding:7px 15px 7px 35px;
color:#666;
font-weight:bold;
text-decoration:none;
border:1px solid #D3D3D3;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border-radius: 4px;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
.mbtbutton{
color:#666;
font-weight:bold;
text-decoration:none;
padding:6px 15px;
border:1px solid #D3D3D3;
cursor: pointer;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-goog-ms-border-radius: 4px;
border-radius: 4px;
background: #fbfbfb;
background: -moz-linear-gradient(top, #fbfbfb 0%, #f4f4f4 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f4f4f4));
background: -webkit-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -o-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
background: -ms-linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr=&#39;#FBFBFB&#39;, endColorstr=&#39;#F4F4F4&#39;,GradientType=0 );
background: linear-gradient(top, #fbfbfb 0%,#f4f4f4 100%);
}

#doulike-outer {
-moz-border-radius: 10px 10px 10px 10px;
-webkit-border-radius: 10px 10px 10px 10px;
-goog-ms-border-radius: 10px 10px 10px 10px;
border-radius: 10px;
background: none repeat scroll 0 0 transparent;
border: 1px solid #D3D3D3;
padding: 8px;
-moz-transition: all 0.3s ease-out;
-o-transition: all 0.3s ease-out;
-webkit-transition: all 0.3s ease-out;
-ms-transition: all 0.3s ease-out;
transition: all 0.3s ease-out;
width:480px;
}
#doulike-outer:hover{
background: none repeat scroll 0 0 #FFF;
-moz-box-shadow: 1px 1px 2px #CCC inset;
-webkit-box-shadow: 1px 1px 2px #CCC inset;
box-shadow: 1px 1px 2px #CCC inset;
}
#doulike-outer td{
padding:3px 0;
}
</style>

<div id='doulike-outer'>
<div id='doulike'>
<table width='100%'>
<tbody>
<span style='font-style: italic; font-size: 30px; font-family: arial,sans-serif, verdana;  color:#FF683F;'>Do you Like this story..?</span>
<tr>
<td>

<div id='fb-root'/><script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/><fb:like font='' href='' layout='button_count' send='true' show_faces='false' width='300'/>

</td>

</tr>

<tr>

<td align='left'> <p style='color:#666; font-style:italic; margin:0px 0px 5px 0px; '>Get Free Email Updates Daily!</p>
<form action='http://feedburner.google.com/fb/a/mailverify' class='emailform' method='post' onsubmit='window.open(&apos;http://feedburner.google.com/fb/a/mailverify?uri=tntbystc&apos;, &apos;popupwindow&apos;, &apos;scrollbars=yes,width=550,height=520&apos;);return true' style='margin: 0pt;' target='popupwindow'>
<input name='uri' type='hidden' value='tntbystc'/>
<input name='loc' type='hidden' value='en_US'/>
<input class='mbttext' name='email' onblur='if (this.value == &quot;&quot;) {this.value = &quot;Enter your email...&quot;;}' onfocus='if (this.value == &quot;Enter your email...&quot;) {this.value = &quot;&quot;}' type='text' value='Enter your email...'/>

<input alt='' class='mbtbutton' title='' type='submit' value='Submit'/>
</form>
</td>


<td><p style='color:#666; font-style:italic; margin:0px 0px 5px 0px;  '>Follow us!</p>
<a href='http://feeds.feedburner.com/TntByStc' rel='nofollow' target='_blank' title='Suscribe to RSS Feed'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqi5bLaEyDkBLMnrcJhgU6zaDuz9Xzmc6Y1wqi7oGHa6-dG1FZatyy_Ix712dmystWqJBxB6RAmHGN5bH6ygxl9JdGOrsKBhdO2KgVnJlSh91jpQexlrCgm5nIVjFgUxrQb0kwFeiLUSqi/s40/w2bRSS+.png'/></a>

<a href='http://twitter.com/mybloggertricks' rel='nofollow' target='_blank' title='Follow us on Twitter'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZWIQiA1TDQiE7tczEXmfxpdgE7H5qyrv5B81fTej7_AeTGIbIi9FU6KRG36En0Ow21bI1-Ctc8rXhWpF6tOldEx7MoB_MD-wzBIrTIWJ_z6Av9GMOG9aie6q9Q1wCkVfAlH26zTcUhu2b/s40/w2bTwitter.png'/></a>

<a href='http://www.facebook.com/pages/My-Blogger-Tricks/147104632016744' rel='nofollow' target='_blank' title='Follow us on Facebook'><img src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbD3t5Ia1qYn9hlkiCWaeBXc5Rfv5bUt3oWM4m17C9rOn62I41i84uTclcEWtcrNHoc-mOz9VMplyn8tjudPEiZ-zH_dmj06DbuoQrNvRW3uy7TU2t0WMbdZ1utBzaJqsDOA2mGFcYZC6l/s40/w2bFaceBook.png'/></a>
</td>

</tr>

</tbody></table></div></div>
</b:if>

Now make these changes,

  • To change the colour of the "Do you like this story..?" text then simply change #FF683F  with a [a href="http://www.mybloggertricks.com/2009/10/embeddable-css-color-chart-table-for.html" target="_blank"]hexadecimal color of your choice[/a].
  • Now replace http://feedburner.google.com/fb/a/mailverify?uri=tntbystc with your Feedburner Email Feed link. You can get it by visiting your feedburner account then navigate to Publicize and then to Email Subscriptions.
  • Replace tntbystc with your feed title. It appear at the end of your feed link. In my case it is http://feedburner.google.com/fb/a/mailverify?uri=tntbystc
  • Replace orange link with your [a href="http://www.mybloggertricks.com/2009/12/recent-comments-widget-by-feedburner.html" target="_blank"]Feedburner[/a] link
  • Replace the blue link with your [a href="http://www.mybloggertricks.com/2011/07/customize-twitter-follow-button-in-7.html" target="_blank"]twitter[/a] link
  • Replace the purple link with your [a href="http://www.mybloggertricks.com/2011/09/how-to-link-like-button-to-facebook.html" target="_blank"]Facebook Like Page[/a] link

After you have made all the necessary changes simply save your template and you are all done!

Visit any of your post to see it being displayed just perfectly. This gadget is compatible with all major browsers. I hope you find it helpful. I am busy with exam preparation these days so pardon me for late replies. Peace brothers! :)

Source: http://www.mybloggertricks.com/2011/10/you-like-this-story-best-blogger-widget.html
Share this article :

Post a Comment

 
Copyright © 2012. Blogger Tips For Beginners - All Rights Reserved
The information is compiled from various sources on the internet