Solved

iPhone WebSite Swipe accross movement?

Posted on 2010-08-21
4
367 Views
Last Modified: 2012-06-27
Hi, does anyone know how I can use the swipe in a web layout for the iphone, so when I swipe it brings up a delete image and when I press it sends ?delete=true
0
Comment
Question by:eNarc
  • 2
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
ncoo earned 500 total points
ID: 33492084
A jQuery plugin for mobile web development on the iPhone, iPod Touch, and other forward-thinking devices.


http://jqtouch.com/

Check the example here on a iPhone: http://jqtouch.com/preview/demos/main/#animations
0
 
LVL 5

Author Comment

by:eNarc
ID: 33492100
I wouldn't like to use jquery, though I found this website.

http://developer.apple.com/safari/library/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html

though how do I make a swipe guester with this?
0
 
LVL 15

Assisted Solution

by:ncoo
ncoo earned 500 total points
ID: 33492161
I would use jqtouch, someone else has already done the work which means you can focus on how you use it.

There's some example code on this blog, I've not tested it, it seems like it should work though for your needs.

http://rabblerule.blogspot.com/2009/08/detecting-swipe-in-webkit.html
0
 
LVL 5

Author Comment

by:eNarc
ID: 33492337
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question