Welcome To Snipplr


Everyone's Recent jQuery Snippets Tagged ios



« Prev 1 Next »
  1. FAV

    Javascript touch events from click

    Add the init() function to your document.ready call. This allows touch events to be handled like click events.
    jQuery 7 views posted 6 years ago by bitsculptor
  2. FAV

    iPad/iPhone Orientation Body Class

    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...
    jQuery saved by 15 people 7 views posted 8 years ago by iridium
  3. FAV

    JSCROLLPANE IPAD/IPHONE/IPOD/IOS SCROLL/ANDROID SUPPORT

    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)
    jQuery saved by 18 people 5 views posted 9 years ago by Xeldar
« Prev 1 Next »