After my first experiment using jQuery to develop a rotating banner, I noticed that the script I wrote could be use for other similar list items such as a Twitter update list.
To retrieve recent my tweets, I paste the following JavaScript provided by Twitter into the <body> of my page.
<script src="http://twitter.com/javascripts/blogger.js"></script>
<script src="http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&count=3"></script>
Then, I make some simple changes to my jQuery rotating banner script and CSS. Viola! The twitter update list is working as expected. You can view the demo in this page.
To use this twitter update list, You will need to replace the username with your twitter name. You can also specify how many tweets to retrieve by changing the value of count parameter.
jqtwitter.js 1KB
jqbanner.zip 35.5KB