/ Published in: jQuery
Expand |
Embed | Plain Text
var loadTweets = $("<p id='loading'>Loading...</p>"); $('#twitter_title a').append(loadTweets); $.getScript("http://twitter.com/javascripts/blogger.js"); $.getScript("http://twitter.com/statuses/user_timeline/username.json?callback=twitterCallback2&count=7", function() { $(loadTweets).hide(); $("#tweets").jCarouselLite({ vertical: true, hoverPause:true, visible: 1, scroll: 1, auto:5000, speed:1000, wrap: 'last' }); }); var timeout = setTimeout(function() { if ($("#twitter_update_list li").text()=="") { $("#twitter_update_list li").text("Sorry, but we were unable to load the Twitter feed"); } }, 10000);
You need to login to post a comment.
