jQuery (2)

jQuery UI slider change step above certain values

I needed a way to change the step increments on my jQuery UI slider when the value was above a certain number. For instance, I have a range slider from £0 – £2000. Steps of £10 increments are needed until the user slides up to £200, where the step should change to £100 increments. jQuery […]

display latest tweet

to display the latest tweet: [code] $.getJSON("http://twitter.com/statuses/user_timeline/USERNAME.json?count=1&trim_user=t", function(data) { $("#tweetWrap").html(data[0].text); }); [/code] the above, however, does not work if you need to get retweets etc, the following URL is slightly different (the api. and /1/ parts) and does include retweets etc: [code] $.getJSON("https://api.twitter.com/1/statuses/user_timeline/USERNAME.json?count=1&include_rts=1", function(data) { if ( data[0] != undefined ) { $("#tweetWrap").html(convertLinks(data[0].text)); } else […]