Follow mclelun on Twitter +deviantWatch mclelun +fan mclelun RSS Feed
mclelun
Design + Programming = Multitask
blog
jQuery Twitter Update List

jQuery Twitter Update List

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.

Download

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

spamthis
twitter facebook delicious stumbleupon technorati digg


No good spam feed to “jQuery Twitter Update List”

Leave a Good Spam

spam box
recent visitors
minifanfan



logo Copyright © 2010 mclelun.
Valid XHTML. Subscribe RSS rss.
spam eaten
293 spam!