To turn an element into a scrollview, simply add a data-scroll=”true” to the element. By default, a scrollview can scroll in both the horizontal and vertical directions. If the user drags the view horizontally (left or right), or vertically (up or down), scrolling will be locked so that it only scrolls in that one dimension. If the user drags the view diagonally, he will be able to scroll in both directions at the same time.

 

 

 

 

 

 

 

 

 

 

Source

http://jquerymobile.com/test/experiments/scrollview/

Leave a comment