Results 1 to 2 of 2

Thread: Scroll "click-stops" for iPad

  1. #1
    Join Date
    Aug 2010
    San Diego

    Scroll "click-stops" for iPad

    I'd like to implement (on a web page optimized for iPad) the scroll effect of iPhoto on an iPad. That is you swipe and the page will scroll to center the next image (or div of a specific class), and you cannot scroll to have half an image showing, it always adjusts to center the closest-to-center image. It's like the page has "click-stops" to stop the scroll at certain points.

    I imagine this can be done in JavaScript, just wondering if there's an existing library to make this easier.

    Also, if there's a term used to describe what I'm after I'd like to know.

    If there's a non-JavaScript solution I'd like to hear about that too.


  2. #2
    Join Date
    Feb 2011
    Use Sencha Touch or JQTouch to create the mobile site it handles such events.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center