Advertise here


Tag cloud


Posts Tagged ‘JavaScript’

Create your twitter feed using json

Posted on Monday, May 23rd, 2011 in Web Development

This is carrying on from a previous post Twitter Feed using JQuery JSON. Originally, I just used JQuery JSON method to query the Twitter API which got essential bits of a user profile and their time line. It only returned the latest ten results which is sufficient enough with the nature of twitter, tweets get old quick but some are worth checking again. With the Twitter API there is no guarantee to get the exact amount of tweets you requested. What is new in this revised edition of the twitter feed is it will now take the tweets and save a local version of it. This has plenty of benefits like quicker response when querying, view older posts, improved usability and you can customise the output how ever you like.

Here is a list of what is new:

  • Store the tweets locally
  • Pagination, to view older tweets with side shift animation
  • See if a post has been retweeted
  • The feed has an expiry date of four hours to update with new tweets

Read more


Twitter Feed using JQuery JSON

Posted on Monday, May 2nd, 2011 in Web Development

TweetLogoThe Twitter API allows you to access tweets, profile information and more. It has a couple of return types of data, I will be using the JSON format. If you are accessing the tweets that belong to a profile you don’t need authentication unless they are protected. In the documentation it will tell you if authentication is required to access certain data.

I will show you how to create your own Twitter Feed using the Twitter API and JQuery $.getJson() method. I have also added in some other functions to, for the date to convert it to “real time”. Instead of giving a time stamp it now can say, “a minute ago” or “1 hour ago” or ” 1 day ago” and so forth. Find text links and actually turn them into click-able links which open in a new window. Read more


Hiding rows in a table using JQuery

Posted on Thursday, October 28th, 2010 in JavaScript

I was writing a simple JQuery script which filters out table rows based on class name.  When I used visibility:hidden; I noticed that when it was made visible again, the table looked slightly broken. To fix this instead of using visibility:hidden use visibility:collapse; and this keeps the table format correct when it is made visible again.
Read more


JQuery AJAX Query creator

Posted on Monday, June 7th, 2010 in JavaScript

This is a useful script that I have written that uses the JQuery library, so don’t forget to include it above this script. It collects all the form data from all the different form types and formats into a query string to pass through the AJAX method (JQuery or your own). It behaves in the same way as the GET method for example if a checkbox is not selected the data is not sent and it can filter which radio form has been selected. Read more



Web Design Essex | Richard Kotze – Web Technology, Design and Development powered by WordPress | Entries (RSS)