The Digg Social Button Refreshes

Kevin Rose, Digg founder at TC Disrupt discovered that a new "Digg This" button had just been launched both on our site and on Digg.com itself. While prettier and faster, as earlier the button opens up a pop window where you've to "Digg" the story.To add the button, just take you pick, and include the […]

Kevin Rose, Digg founder at TC Disrupt discovered that a new "Digg This" button had just been launched both on our site and on Digg.com itself. While prettier and faster, as earlier the button opens up a pop window where you've to "Digg" the story.

To add the button, just take you pick, and include the following JavaScript script element into your site at the desired loaction. Including the file in this manner will cause the file to load asynchronously and not block other downloads.

<script type="text/javascript"> (function() { var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript'; s.async = true; s.src = 'http://widgets.digg.com/buttons.js'; s1.parentNode.insertBefore(s, s1); })();</script><!-- Wide Button -->
<a class="DiggThisButton DiggWide"></a>
<!-- Medium Button -->
<a class="DiggThisButton DiggMedium"></a>
<!-- Compact Button -->
<a class="DiggThisButton DiggCompact"></a>
<!-- Icon Button -->
<a class="DiggThisButton DiggIcon"></a>

Reference: Digg Button