Issue 45: slide to next page doesn't work (jqtouch)
Status:  New
Owner: ----
Reported by schra...@googlemail.com, Jan 19, 2011

What steps will reproduce the problem?
1. click on the link
2. slide to the next page
3. slide doesn't work (with iphone sdk simulator, but the slide works with safari)

What is the expected output? What do you see instead?
 i see no slide, no next page

What version of the product are you using? On what operating system?
- iscroll 3.7.1
- jqtouch
- simulator 3.0
- Xcode 3.1.3

Please provide any additional information below.

the link works with safari but not with the simulator.
when i delete "<script type="text/javascript" src="iscroll.js?v3.7.1"></script>" the slide works with the simulator but not the scroll. maybe iscroll and jqtouch are not compatible or i made a big mistake ;) i don't know.

test.html
5.3 KB   View   Download
Jan 24, 2011
#1 cb...@yahoo.com
to function: "touchStart: function(e)" line ~ 219 add:

// Do not scroll if link clicked
if(e.target.parentNode.nodeName == 'A')
    return;
Nov 23, 2011
#2 jonat...@demomedia.co.uk
This was a life saver.  Only thing I had to change (since my links were contained in a table) was:

if(e.target.parentNode.nodeName == 'TD')
    return;

That's because scrolling recognised the TR element, but tapping on the link recognised the TD element.  Hope this helps someone.