<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 09:57:52 +0000</lastBuildDate>
    <item>
      <title>(jQuery) iPad/iPhone Orientation Body Class - iridium</title>
      <link>https://snipplr.com/view/61898/ipadiphone-orientation-body-class</link>
      <description>&lt;p&gt;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.&#13;
&#13;
If you require multiple classes on your body tag, simply alter the code to use jQuery's addClass() and removeClass() functions.&lt;/p&gt;</description>
      <pubDate>Thu, 15 Dec 2011 03:33:05 UTC</pubDate>
      <guid>https://snipplr.com/view/61898/ipadiphone-orientation-body-class</guid>
    </item>
  </channel>
</rss>
