<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/javascript/tags/iPad</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 25 May 2013 14:02:17 GMT</pubDate>
<item>
<title>(JavaScript) Detect iOS devices and redirect - vaughanj</title>
<link>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</link>
<description><![CDATA[ <p>Detect if iPad / iPhone / iPod via the user agent and redirect to another page.</p> ]]></description>
<pubDate>Sat, 06 Apr 2013 01:01:17 GMT</pubDate>
<guid>http://snipplr.com/view/70681/detect-ios-devices-and-redirect/</guid>
</item>
<item>
<title>(JavaScript) Detect iPhone and iPad - paul0078</title>
<link>http://snipplr.com/view/64575/detect-iphone-and-ipad/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 15 Apr 2012 20:13:59 GMT</pubDate>
<guid>http://snipplr.com/view/64575/detect-iphone-and-ipad/</guid>
</item>
<item>
<title>(JavaScript) Preventing elastic scrolling on iDevice - timothypwalter</title>
<link>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</link>
<description><![CDATA[ <p>If you a flick a web app past the bottom or top of the page, the page itself gets elastically tugged away from the URL bar or the button bar (or the bottom/top of the screen if it's in full-screen mode).

This behavior is another giveaway that your app isn't native, and it's rarely the behavior you want in a native app.

To stop this behavior, capture touchmove events on the document in JavaScript and cancel them. You can do this by adding a handler to the body tag, and invoking the preventDefault method on the event object:</p> ]]></description>
<pubDate>Thu, 02 Feb 2012 22:52:08 GMT</pubDate>
<guid>http://snipplr.com/view/63008/preventing-elastic-scrolling-on-idevice/</guid>
</item>
<item>
<title>(JavaScript) Detecting iPad/iPhone/iPod with javascript - parkarlsson</title>
<link>http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/</link>
<description><![CDATA[ <p>A tiny snippet on how to easily detect iPad/iPhone/iPod using javascript.</p> ]]></description>
<pubDate>Tue, 14 Jun 2011 18:13:39 GMT</pubDate>
<guid>http://snipplr.com/view/55226/detecting-ipadiphoneipod-with-javascript/</guid>
</item>
<item>
<title>(JavaScript) JS - iPad User Agent Detection - garretjames</title>
<link>http://snipplr.com/view/51343/js--ipad-user-agent-detection/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 31 Mar 2011 01:46:01 GMT</pubDate>
<guid>http://snipplr.com/view/51343/js--ipad-user-agent-detection/</guid>
</item>
<item>
<title>(JavaScript) Detect iPhone/iPad, window resolution and setup CSS classes - HelloKit</title>
<link>http://snipplr.com/view/49210/detect-iphoneipad-window-resolution-and-setup-css-classes/</link>
<description><![CDATA[ <p>Also selects different sized header images for better image quality.</p> ]]></description>
<pubDate>Sat, 19 Feb 2011 03:15:26 GMT</pubDate>
<guid>http://snipplr.com/view/49210/detect-iphoneipad-window-resolution-and-setup-css-classes/</guid>
</item>
</channel>
</rss>