-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a situation where I need to be able to have an area scroll both vertically and horizontally on an Ipad.
I can only get it to work in one direction at a time for some reason.
Below I show the example that works vertically, the other horizontally. The bottom example is what should work in both directions I would think but it doesn't on the Ipad.
On a desktop you do get scrollbars in both directions.
Any help appreciated.
-Andy
This works vertically
<vbox width="100%" height="100%"> <div height="500px" width="100%" style="overflow:auto"> <!-- My Scrolling Content Goes here --> </div> </vbox>
This will only work horizontally - I have added a fixed width on the div - I would think this should scroll in both directions - does on the desktop, not on the Ipad.
<vbox width="100%" height="100%"> <div height="500px" width="980px" style="overflow:auto"> <!-- My Scrolling Content Goes here --> </div> </vbox>
Hello,
You may refer to this smalltalk on how to get scrolling to work on a tablet.
Neil Lee, Engineer
Potix Corporation
Asked: 2012-10-11 18:48:20 +0800
Seen: 56 times
Last updated: Oct 14 '12