27 October 2010

How To Add Digg Button In Blogger With Counter


To setup this widget in your blog First of all go to your blog Edit Html Page , Expand Widget Templates and Follow the simple steps that follows below.

First of all search for the following line of Code in your Template.

<p><data:post.body/></p>

Now if you like to show digg button at Top Left of your blog Post then Replace the above code with the following lines of Code.


<div style=’float:left; margin-right:10px;’>
<script type=’text/javascript’>
digg_url=”<data:post.url/>”;
</script>
<script src=’http://digg.com/tools/diggthis.js’ type=’text/javascript’/>
</div>
<p><data:post.body/></p>

Or if you like to display digg button at Top Right then Replace the above code with the following lines of Code.

<div style=’float:right; margin-left:10px;’>
<script type=’text/javascript’>
digg_url=”<data:post.url/>”;
</script>
<script src=’http://digg.com/tools/diggthis.js’ type=’text/javascript’/>
</div>
<p><data:post.body/></p>

Get Free Updates:
Note : You will find a confirmation link in your inbox or junk folder

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More