iphone issue

9 views
Skip to first unread message

raj kumar

unread,
Aug 15, 2012, 1:35:59 AM8/15/12
to html5...@googlegroups.com


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 pls 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('<p><a class="prev">Prev</a> | <a class="next">Next</a></p>');
 $
('.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()+'"'); });
 
}

 
});
Reply all
Reply to author
Forward
0 new messages