Git Product home page Git Product logo

Comments (7)

mattbryson avatar mattbryson commented on May 18, 2024

Have you looked at this demo : http://labs.skinkers.com/content/touchSwipe//demo/7_Click_vs_swipe.php

It has a black div that has its own click events inside the swipe element.
It uses the http://code.google.com/p/jquery-ui-for-ipad-and-iphone/ plugin to turn jquery click events into touch events.

m.

from touchswipe-jquery-plugin.

lancevo avatar lancevo commented on May 18, 2024

cool. thanks.

from touchswipe-jquery-plugin.

timtimgit avatar timtimgit commented on May 18, 2024

This bus is not resolved: that plugin it's not easy to implement.

Links don't work if they're inside of the container that I bound the swipe method to...
do you think is it possible to fix this issue?

from touchswipe-jquery-plugin.

mattbryson avatar mattbryson commented on May 18, 2024

The demo mentioned above shows you how to capture any click on a swipe object, or child object, as well as using normal click handlers on child objects. You just need to include the extra plugin to convert touches to clicks.

There is also a feature request outstanding that will allow you to specify selectors that will exclude certain child objects from triggering swipes (forms, links etc) which sounds like it would also help.

I'll be looking at that once the pinch zoom stuff is done, this week hopefully.

M

from touchswipe-jquery-plugin.

TheGameKnave avatar TheGameKnave commented on May 18, 2024

The jquery ui for ipad and iphone code doesn't work. Have you tried the click demo page on an iOS device? on my ipod touch, the demo page won't scroll anywhere. Completely buggy and needs a better solution. Guess i'll have to abandon this for now. was hoping this was the answer to my prayers. ;)

from touchswipe-jquery-plugin.

scratscratte avatar scratscratte commented on May 18, 2024

What ios version are you running? because im running this on my project, tested and works perfectly on ipad device and others in simulator

from touchswipe-jquery-plugin.

TheGameKnave avatar TheGameKnave commented on May 18, 2024

ipod touch, v.5.1.1.

I can scroll around the demo site fine until i get to this page, and i'm unable to scroll anywhere. At first i thought it was my error, as i included the http://code.google.com/p/jquery-ui-for-ipad-and-iphone/ script on my project and panicked when it broke, but then i found the demo site doesn't work either.

works on my android browser, though.

from touchswipe-jquery-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.