Skip to content

Vertical Scrolling #7

Description

@newphonegapper

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions