This blog is NOFOLLOW Free!

iPhone ‘Pull To Refresh’ in JavaScript


When it first arrived in iPhone apps, the simple “pull to refresh” action was instantly hailed as a genius bit of user interaction engineering.

It’s an ultra-intuitive way of refreshing the displayed page content by simply pulling the page down with your thumb, then releasing it — sort of like pulling a lever on a slot machine. The official Foursquare and Twitter (nee Tweetie) apps use it, so if you’re into social networking, you’re already familiar. But so far, its use has been limited to native apps.

Now developer Wayne Pan has created the same behavior in JavaScript for use in web apps. It’s just a proof of concept implementation at this time, and he’s found some of the limitations.

Point your mobile browser at waynepan.com/s/pull to test it. It’s a little jerky, but it does work. And his code doesn’t rely on any JavaScript libraries, so with a little tweaking, this behavior can be integrated into any web app and will work on Android and iOS devices. Nice work!

[Hat tip to Dion]

See Also:

Read more from source

Related Posts with Thumbnails Social Bookmarking
Add to: Yigg Add to: Digg Add to: Del.icio.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Yahoo Add to: Google Add to: Blinklist Add to: Blogmarks Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Information
This entry was posted on Monday, August 2nd, 2010 at 3:23 pm and is filed under internet, Tools. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

You might also want to read:

  • Will the iPhone Crush Verizon’s Network? [IPhone]
  • How to Shoot Better iPhone HDR Photos [Iphone 4]
  • Giz Explains: What’s So Smart About the iPhone 4S’s Antenna?
  • Keep Holding Your Breath for That 4G Verizon iPhone [Verizon]
  • Apple’s Ending the Free iPhone 4 Case Program September 30 [Apple]
  • Leave a Reply

    Please leave these two fields as-is:

    Protected by Invisible Defender. Showed 403 to 128,860 bad guys.

    Comments links could be nofollow free.