jquerymobile-carousel
jquerymobile-carousel copied to clipboard
Vertical Scrolling
How do you get Vertical Scrolling to work. I have the carousel embedded in my Jquery Mobile App, but when I implement it vertical scrolling is disabled on all of the pages in the app, not just where the carousel is.
I figured out how to get Vertical Scrolling to Work by changing the code in Jquery UI-Ipad to the following:
if ($.support.touch) { var obj = document.getElementsByClassName('target_area_divs'); for(i=0; i<obj.length;i++){ obj[i].addEventListener("touchstart", iPadTouchHandler, false); obj[i].addEventListener("touchmove", iPadTouchHandler, false); obj[i].addEventListener("touchend", iPadTouchHandler, false); obj[i].addEventListener("touchcancel", iPadTouchHandler, false); } }
The "target area divs" I input the name of my div. Then Scrolling Works but the Carousel Doesn't. Anybody have a solution? Thanks a alot I'd appreciate any help.