Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swipe plugin and iPad #369

Closed
Studio-Hunto opened this issue May 4, 2012 · 1 comment
Closed

Swipe plugin and iPad #369

Studio-Hunto opened this issue May 4, 2012 · 1 comment

Comments

@Studio-Hunto
Copy link

First of all: great plugin, thank you. Before use, i tested the Swipe plugin on an ipad and iPhone and it worked great. Now i implemented the carousel with the Swipe plugin and it does work on the PC in various browsers but not on the iPad.

What could be the issue on the iPad?

Test case: http://dl.dropbox.com/u/31954119/test/plugins/swipe/test/functional/default.html
Use case: http://rolindawindhorst.nl/portfolio/lifestyle

$(function() {
    var portfolio = $('#portfolio');

    var has_index = typeof portfolioIndex != 'undefined';
    if(!has_index) {
        portfolioIndex = 0;
    }

    portfolio.bind('jcarouselinitend', function(e, carousel) {
        carousel.scroll(portfolioIndex);
    })
    .jcarousel()
    .find('[rel]')
    .click(function(e) {
        portfolio.jcarousel('scroll', this);
    })
    .jcarouselSwipe();

   $('#portfolio-pagination').jcarouselPagination({
        perpage: 1
    });
});

Thanks in advance for taking a look.

@Studio-Hunto
Copy link
Author

I solved this by implementing another plugin to detect touch and swipes. It doesn't have the nice drag effect but it works.
See: http://labs.skinkers.com/touchSwipe/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant