<?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/tags/orientataion</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 23:33:01 GMT</pubDate>
<item>
<title>(JavaScript) Screen Orientation detection - JS 1.2 - flamboyanz</title>
<link>http://snipplr.com/view/69616/screen-orientation-detection--js-12/</link>
<description><![CDATA[ <p>While working on Mobile Web Application, We can identify orientation or apply device specific css by CSS media queries , but if you need to detect media queries from JavaScript for orientation change, you can observe  and notify it with JavaScript to trigger any event or DOM manipulation:
The Key is matchMedia method, it is a part of View Module of  CSSOM (CSS Object Model) still in draft mode. http://dev.w3.org/csswg/cssom/

Sources: 
http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
 https://developer.mozilla.org/en-US/docs/DOM/window.matchMedia
http://davidwalsh.name/orientation-change</p> ]]></description>
<pubDate>Thu, 24 Jan 2013 22:20:35 GMT</pubDate>
<guid>http://snipplr.com/view/69616/screen-orientation-detection--js-12/</guid>
</item>
</channel>
</rss>