Subscribe
Get our E-Mail Newsletter:


   Random posts

Add Digg button to Blogger or Blogspot

Sponsored link
 
 
 
 
 
add digg buttonThis is my old tutorial that I have written for my old ajaxcold site that
explains how you can add a Digg vote button for each post into the new blogger template.

Open your blogger template, expand the widgets and find this code's line:

and add on top to this code:

<!-- DIGG -->
<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>
<data:post.body/>

If you want to have the button at the top left corner of your post, change the alignment.

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


Labels: ,

Translate to:

0 Comments:

Post a Comment

<< Home

Previous Posts



  Search