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

slider #9

Open
js08 opened this issue Aug 15, 2012 · 0 comments
Open

slider #9

js08 opened this issue Aug 15, 2012 · 0 comments

Comments

@js08
Copy link

js08 commented Aug 15, 2012

http://jsfiddle.net/rajkumart08/U9CZA/embedded/result/

When I see this link in iphone device the slider is not working but it works in chrome in firefox the slider movement is not proper
I am providing the code in fiddle also http://jsfiddle.net/rajkumart08/U9CZA/2/
can you guys please say how to fix the issue

I am providing my js code below

$(document).ready(function()
{

$('#demo2').flickable({segments:4});
$('#demo2 a').tap(function(){ alert('You just tapped "'+$(this).text()+'"'); });

if(!Modernizr.touch) {

// If you're on a desktop, show next/prev links for mouse navigation
$('.openme').after('

Prev | Next

');
$('.next').click(function() { $('#demo2').flickable('scrollNext');});
$('.prev').click(function() { $('#demo2').flickable('scrollPrev');});

// Add mouse support
$('#demo2 a').click(function(){ alert('You just clicked "'+$(this).text()+'"'); });
}

});

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