2009-05-06

Image

TwitThis Button for Blogger


TwitThis is an easy way for people to send Twitter messages about your blog post or website. When visitors to your website click on the TwitThis button or link, it takes the URL of the webpage and creates a shorter URL using our own URL shortener! Then visitors can send this shortened URL and a description of the web page to all of their friends on Twitter.

Login to Blogger. Go to Layout > EditHTML. Check Expand Widget Templates.

Copy and paste the following code where you want the widget to be displayed.


<a expr:href='"http://twitthis.com/twit?url=" + data:post.url + "&amp;title=" + data:post.title'>Twit This!</a>


CSS

If you like the TwitThis link () used in this blog, add this class in your CSS and use it with the above code.

.share-tweet {
background:url(http://bit.ly/PNzhb) 10px top no-repeat;
margin-left:10px;
padding-left:42px
font-size:11px;
line-height:18px;
}

0 التعليقات:

Total Pageviews