Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged ios
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
Add the init() function to your document.ready call. This allows touch events to be handled like click events.
0
719
posted 11 years ago by bitsculptor
This function will detect the orientation (portrait/landscape) of an iOS device and set the body class to either portrait or landscape, as well as providing a global variable for use elsewhere in your JS.
If you require multiple classes on your bo...
3
837
posted 12 years ago by iridium
From http://snipplr.com/view/41051/jscrollpane-ipadiphoneipodios-scoll-support/ here the part of code to add in jScrollPane.js for android,iphone,ipod,ipad support. Add this after :if (isScrollable) { (around line 165)
3
763
posted 13 years ago by Xeldar
« Prev 1 Next »