¡@

Home 

2014/10/16 ¤W¤È 12:08:01

jquery Programming Glossary: searchterms

How to disable rubber band in iOS web apps?

http://stackoverflow.com/questions/10357844/how-to-disable-rubber-band-in-ios-web-apps

class on it Prevent rubber banding of the body but allow for scrolling elements 'body' .on 'touchmove' function e var searchTerms '.scroll .scroll y .scroll x' target e.target parents target.parents searchTerms if parents.length target.hasClass searchTerms.. 'body' .on 'touchmove' function e var searchTerms '.scroll .scroll y .scroll x' target e.target parents target.parents searchTerms if parents.length target.hasClass searchTerms ignore as we want the scroll to happen This is where we may need to check.. '.scroll .scroll y .scroll x' target e.target parents target.parents searchTerms if parents.length target.hasClass searchTerms ignore as we want the scroll to happen This is where we may need to check if at limit else e.preventDefault And here is..