Welcome To Snipplr
Everyone's Recent jQuery Snippets Tagged iphone
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
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
864
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
777
posted 13 years ago by Xeldar
execute javaScript only for iphone / ipad / ipod using jQuery, triggered on page load
7
1750
posted 14 years ago by humanoid
« Prev 1 Next »