Showing posts from September, 2009

Create a twitter reader using JQuery

  The year of JavaScript has come and JQuery is one of the powerful JavaScript libraries out there. We could perform a multitude of tasks using these libraries. I have created a twitter reader that displays a user's timeline using JQuery. The implementation is very simple. See the code below.     <html> <head> <title>Twitter Reader</title> <script src="jquery.js" language="javascript"></script> </head> <body align="center" bgcolor="#181C21"> <script language="javascript" type="text/javascript"> $(document).ready(function(){ $.getJSON("", function(data){ $.each(data,function(i, item){ $("<div style='color:#865833'>"+item.text+"</div>").appendTo("body"); }); $("div").filter(function(index){ return (index % 2 == 0); }).css