One of the things I really like about the interface in Tweetie / Twitter for iPhone is being able to swipe a tweet to reveal actions beneath it. This is my attempt to recreate it using HTML, CSS3 and Javascript. The main swiping action seems to work nicely, but to complete it, I’d like to add a bit more bounciness, a sound effect on swipe (using ?) and have better handling of non-swipe actions.
Very useful method of ensuring jQuery is loaded before running the code that needs it - from How to build a web widget (using jQuery) - Alex Marandon [js] /******** Load jQuery if not present *********/ if (typeof jQuery === “undefined” || jQuery.fn.jquery !== ‘1.4.2’) { var script_tag = document.createElement(‘script’); script_tag.setAttribute(“type”,“text/javascript”); script_tag.setAttribute(“src”, “") script_tag.onload = main; // Run main() once jQuery has loaded script_tag.onreadystatechange = function () { // Same thing but for IE if (this.