Adds necessary scrolling capability to divs for mobile devices. Extremely light-weight.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.txt
code.js
index.html

README.txt

Touch Div:

Simplified scrolling capabilities for touchscreen devices.

Since iPhones don't display div overflows, a touch gesture is needed to scroll through a div.
Update: 2 fingers can scroll through div overflows, but it's doubtful that an iPhone user will know that.



Note: After much troubleshooting, it appears that any manipulation to the innerHTML variable for a scrollDiv can screw up the scrollbars. This isn't a life-threatening problem, but it is a nuisance if the user would like to see where they are in the div.
To overcome this, place the div that will manage the content INSIDE the scrollDiv.