Scrollable cotent with crossbrowser support including iOS
As we all know scrollable content i.e. CSS overflow:scroll;
requires a开发者_如何学运维 hideous two finger scroll on iOS with no scrollbars. I have researched multiple ways to have a nice attractive iOS scroll but it's not good enough as they are all designed for iOS web apps.
So I am after a solution that does either of these things:
- Detects apple mobile safari and applies a javascript to all overflow:scroll elements.
- Is a cross browser solution for scrollable content including iOS (would be nicest)
Any ideas?
Check iScroll 4. It's cross-browser compatible, and it also features a lite version.
精彩评论