I am using the below piece of code into my project
my HTML Code look like below code:
And my Script code is like below
myScroller = new IScroll('#myScroller', {
eventPassthrough: true
, scrollX: true
, scrollY: false
, preventDefault:true
, momentum: false
, snap: true
});
its working fine for google chrome the only issue i was facing in Mozilla and IE .When i am trying to move the scroller i am not able to move out because the div is moving with the mouse scroll.
For ex i am having 6 div and i am trying to perform horizontal move so when i am selecting one div and try to scroll i am not able to move out the mouse pointer from that div instaed of scrolling the div one by one the whole div is moving .
i implimented by following below piece of code :
http://lab.cubiq.org/iscroll5/demos/event-passthrough/
I am using the below piece of code into my project my HTML Code look like below code: