jquerymobile-carousel icon indicating copy to clipboard operation
jquerymobile-carousel copied to clipboard

Vertical Scrolling

Open newphonegapper opened this issue 13 years ago • 0 comments

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.

newphonegapper avatar Jan 06 '12 16:01 newphonegapper