Tuesday, October 20, 2009

Twitter Followers Bird image on Blogger

The instructions on http://twittercounter.com/pages/buttons page says you need to use the script at the bottom in order to post a box on your blog.

I quickly took a look at the script generated for the nice bird icon and realized they are using php to modify the image with information passed in the image url, very clever.
TwitterCounter for @codepyro

Blogger does not allow cross scripting javascript so instead you would need to grab the direct html that the javascript would generate. Here is the example, just change Codepyro in the username to your twitter username.


<div id='TwitterCounter'>
<a href='http://twittercounter.com/codepyro?from=button' target='_new' title='TwitterCounter for @codepyro'>
<img alt='TwitterCounter for @codepyro' height='90' src='http://srv2.twittercounter.com/counter/index_bird.php?username=codepyro' style='border:none;' width='149'/>
</a>
</div>

Then paste the code into your blog, i used the expand widgets checkbox and posted the twitterFollower code in my profile section.


Stumble Upon CodePyro

1 comment:

Anonymous said...

Since fashion is renewing by the seasons, it involves a lot of replica watches online buying and auctions as well. Internet marketing has made its presence in the fashion industry. Fashion represents one's personal style and a taste of art. Every month, every one of hublot replica uk at least hundreds to thousands on what we are wearing. There are fake rolex sale and supplying sources to renew your closet every season. Now, it is no longer necessary to purchase directly from stores. E-buying is definitely the current trend. The replica watches are a favorite fashion choice with both men and women, every rolex replica likes to appear different from the others. At every day to day occasion, people want to sport a look which would ensure them maximum appreciation. In order to fulfill their desire, they take care to add something special to their style rolex replica sale which would make them stand apart from others. A watch is one such item which would help one buy respect and attention.

Post a Comment