A simple way to use "digg it" button on Blogspot
If your tried to use the provided JavaScript to allow your visitors to digg your stories from Blogspot you found that the included html editor doesn't allow JavaScript. There is a simple hack to do this: instead of including the script you can include only it's output. So, submit the story on DIGG and use the html editor to add this to your page :
<iframe src='http://digg.com/api/diggthis.php?u=DIGG_STORY_URL' height='82' width='55' frameborder='0' scrolling='no'></iframe>
Make sure you replace the DIGG_STORY_URL with your own submitted story link. The end result should look like this:
No comments:
Post a Comment