Solved

iPhone WebSite Swipe accross movement?

Posted on 2010-08-21
4
368 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

860 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