HTML5 Web Storage

HTML5 let’s you storage data within the user’s browser, this is a new way to storage data locally.

Web Storage is more secure and faster than cookies. The data is not included with every server request, but used only when asked for. It is also possible to store large amounts of data, without affecting the website’s performance.
The data is stored in key/value pairs, and a web page can only access data stored by itself.


jQuery Touchwipe Plugin – iPhone, iPad, Android Wipe Effect

Touchwipe is a jQuery Plugin that allows you to obtain the wipe event on an iPhone, iPad or iPod Touch which can be used for example to scroll through an image gallery. Should also work with Android touchscreens. It’s very small, it’s only 1 KB.

Example

$("#target").touchwipe({
    wipeLeft: function() { alert("left"); },
    wipeRight: function() { alert("right"); },
    wipeUp: function() { alert("up"); },
    wipeDown: function() { alert("down"); }
});

jQuery Touchwipe Plugin (iPhone, iPad, iPod Touch Gesten / Gestures, Wischeffekt / Wipe Effect)

ternarylabs/porthole Javascript Library

Porthole is a small Javascript library that makes it safe and easy to communicate with cross domain iFrames. Porthole relies on hidden iFrames (later referred to a as proxy) to exchange information. The caller sets a url fragment with the message to pass. The proxy by virtue of being served from the same origin as the callee, invokes a callback method with an event object that contains the message read from the url fragment. The message signaling mechanism is based on a resize event.

Random posts