Tweet Rotator 1.0 - Showing Tweets in style!

Examples and documentation

Tweet Rotator gets the latest Tweets from a user, a hashtag or another search operator and publishes it in an interactive banner. It is completely written in JavaScript using the jQuery framework. In other words, NO database or serverside programming language is required. Its lightweight, 8kb and easy to integrate into your website.

Current features:

How to implement?

First include the jQuery library to the 'head' section of your webpage. Then include Tweet Rotator, I'd recommend using the minified version (js/tweetrotator-min.js).

Example:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>

<script src="js/tweetrotator-min.js"></script>



Setting up
When the implementation is done you can setup Tweet Rotator by adding the following lines to the end of hour 'head' section on your webpage:

<script>
$(document).ready(function() {
$("#example").tweetrotator({operator: "#google"});
});
</script>

And you are done, Tweet Rotator will now look for an element with the id 'example' and load in Tweets that match the operator, in this case #google. Don't forget to add an width and height to your 'example' element!.

Options
Tweet Rotator comes with a set of options which can be set on startup, a description of the options:
operator Sets the operator (keyword, user, hashtag) more information about the use of operators: http://search.twitter.com/operators

multiple_colors Use multiple background colors (true* or false)
directionHorizontal or vertical scrolling (horizontal* or vertical)
autorotateAuto rotate the tweets (true* or false)
idletimeNumber of seconds between tweets that popup (in seconds)
convertTextlinkAutomaticly convert text links to HTML? (true* or false
linkHashtagsAutomaticly convert hashtags to URL? (true* or false)
linkUsernamesAutomaticly convert uvernames to URL? (true* or false)
parametersAdd additional parameters like language: &lang=en
default_from_lineThe top line above the Tweet
default_time_lineThe bottom line below the Tweet
* is default

Questions?
Mention me on Twitter.

Vertical and no rotate example

Horizontal, without multiple colors example