<?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/screen</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 10:48:40 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>
<item>
<title>(CSS) Media Queries For Common Screen Sizes. - o0110o</title>
<link>http://snipplr.com/view/68098/media-queries-for-common-screen-sizes/</link>
<description><![CDATA[ <p>CSS media queries for common screen sizes which are ignored in older browsers.</p> ]]></description>
<pubDate>Mon, 05 Nov 2012 13:40:20 GMT</pubDate>
<guid>http://snipplr.com/view/68098/media-queries-for-common-screen-sizes/</guid>
</item>
<item>
<title>(HTML) Viewport Meta Tag for recognizing mobile devices - klagraff</title>
<link>http://snipplr.com/view/67733/viewport-meta-tag-for-recognizing-mobile-devices/</link>
<description><![CDATA[ <p>Viewport Meta Tag for recognizing mobile devices,

Insert between  tag</p> ]]></description>
<pubDate>Sun, 14 Oct 2012 13:34:26 GMT</pubDate>
<guid>http://snipplr.com/view/67733/viewport-meta-tag-for-recognizing-mobile-devices/</guid>
</item>
<item>
<title>(Perl) Capture Screenshots in Perl - Maximus1983</title>
<link>http://snipplr.com/view/65762/capture-screenshots-in-perl/</link>
<description><![CDATA[ <p>Capture Web Screenshots easily with the [GrabzIt Perl API](http://grabz.it/api/perl/)

You will need the free [GrabzIt Code Library](http://grabz.it/api/perl/download.aspx) to get started.</p> ]]></description>
<pubDate>Fri, 22 Jun 2012 21:52:51 GMT</pubDate>
<guid>http://snipplr.com/view/65762/capture-screenshots-in-perl/</guid>
</item>
<item>
<title>(Python) Capture Screenshots in Python - Maximus1983</title>
<link>http://snipplr.com/view/65250/capture-screenshots-in-python/</link>
<description><![CDATA[ <p>Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) Python API

You will need the free [GrabzIt Code Library](http://grabz.it/api/python/download.aspx) to get started.</p> ]]></description>
<pubDate>Tue, 29 May 2012 20:15:17 GMT</pubDate>
<guid>http://snipplr.com/view/65250/capture-screenshots-in-python/</guid>
</item>
<item>
<title>(C#) Capture Screenshots in C# - Maximus1983</title>
<link>http://snipplr.com/view/64940/capture-screenshots-in-c/</link>
<description><![CDATA[ <p>Capture Web Screenshots easily with the [GrabzIt C# API](http://grabz.it/api/aspnet/). 

This handy code snippet will fire a event when your screenshot is ready so that your code can process the screenshot anyway you wish!

You will need the free [GrabzIt Code Library](http://grabz.it/api/aspnet/download.aspx) to get started.

The code snippet assumes it is located within a ASPX page, in this example we are taking a screenshot of google.com.</p> ]]></description>
<pubDate>Fri, 18 May 2012 19:56:10 GMT</pubDate>
<guid>http://snipplr.com/view/64940/capture-screenshots-in-c/</guid>
</item>
<item>
<title>(PHP) Capture Screenshots in PHP - Maximus1983</title>
<link>http://snipplr.com/view/64913/capture-screenshots-in-php/</link>
<description><![CDATA[ <p>Capture Web Screenshots easily with the [GrabzIt ](http://grabz.it/) PHP API

You will need the free [GrabzIt Code Library](http://grabz.it/api/php/download.aspx) to get started.</p> ]]></description>
<pubDate>Thu, 17 May 2012 23:17:36 GMT</pubDate>
<guid>http://snipplr.com/view/64913/capture-screenshots-in-php/</guid>
</item>
<item>
<title>(HTML) Android Meta Viewport Tag for PhoneGap Projects - parkerkrhoyt</title>
<link>http://snipplr.com/view/60705/android-meta-viewport-tag-for-phonegap-projects/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 11 Nov 2011 03:45:47 GMT</pubDate>
<guid>http://snipplr.com/view/60705/android-meta-viewport-tag-for-phonegap-projects/</guid>
</item>
<item>
<title>(Objective C) iOS Show Full Screen - streamt</title>
<link>http://snipplr.com/view/59663/ios-show-full-screen/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 12 Oct 2011 11:26:13 GMT</pubDate>
<guid>http://snipplr.com/view/59663/ios-show-full-screen/</guid>
</item>
<item>
<title>(JavaScript) Animated Backstretch - ryarwood</title>
<link>http://snipplr.com/view/59003/animated-backstretch/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 23 Sep 2011 08:38:14 GMT</pubDate>
<guid>http://snipplr.com/view/59003/animated-backstretch/</guid>
</item>
<item>
<title>(ActionScript 3) Get screen resolution on mobile device in Flex air - GunnarHKarlsson</title>
<link>http://snipplr.com/view/58592/get-screen-resolution-on-mobile-device-in-flex-air/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 11 Sep 2011 00:10:32 GMT</pubDate>
<guid>http://snipplr.com/view/58592/get-screen-resolution-on-mobile-device-in-flex-air/</guid>
</item>
<item>
<title>(CSS) Perfect full screen background image - ddavidd</title>
<link>http://snipplr.com/view/57510/perfect-full-screen-background-image/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 02 Aug 2011 13:48:15 GMT</pubDate>
<guid>http://snipplr.com/view/57510/perfect-full-screen-background-image/</guid>
</item>
<item>
<title>(Bash) Enable Remote access / Screen Sharing through ssh in OSX - ypmits</title>
<link>http://snipplr.com/view/57171/enable-remote-access--screen-sharing-through-ssh-in-osx/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Jul 2011 03:32:44 GMT</pubDate>
<guid>http://snipplr.com/view/57171/enable-remote-access--screen-sharing-through-ssh-in-osx/</guid>
</item>
<item>
<title>(Bash) Bash + Screen prompt and title (Debian) - ChloeD</title>
<link>http://snipplr.com/view/54838/bash--screen-prompt-and-title-debian/</link>
<description><![CDATA[ <p>This .bashrc snippet sets the PS1 prompt so the title will be displayed in screen's statusbar.</p> ]]></description>
<pubDate>Fri, 03 Jun 2011 22:33:01 GMT</pubDate>
<guid>http://snipplr.com/view/54838/bash--screen-prompt-and-title-debian/</guid>
</item>
<item>
<title>(CSS) Methods for hiding content - thesmu</title>
<link>http://snipplr.com/view/54500/methods-for-hiding-content/</link>
<description><![CDATA[ <p>The first two mechanisms are probably the most popular, with display: none; being the go-to option implemented by nearly every JavaScript library on the planet and the lion’s share of ready-made JavaScript widgets. If you don’t want your hidden content to be read by a screen reader, those defaults may work for you, but if you want to ensure users have access to content (even if it isn’t displayed visually in the current interface), the final option (positioning content offscreen) is really the way to go.</p> ]]></description>
<pubDate>Fri, 27 May 2011 20:14:05 GMT</pubDate>
<guid>http://snipplr.com/view/54500/methods-for-hiding-content/</guid>
</item>
<item>
<title>(Bash) Change root in a bash shell. - ChloeD</title>
<link>http://snipplr.com/view/53193/change-root-in-a-bash-shell/</link>
<description><![CDATA[ <p>This is for debian but can be adapted with little trickery to any Linux distro. This enables changing the root of a shell so that the directories displayed are not too long.

Useful for dir-verbose frameworks like symfony or when managing a huge website directory.

Usage: setroot $PWD</p> ]]></description>
<pubDate>Sat, 07 May 2011 23:12:15 GMT</pubDate>
<guid>http://snipplr.com/view/53193/change-root-in-a-bash-shell/</guid>
</item>
<item>
<title>(XML) Blackberry AIR App, how to add a splash screen - dim</title>
<link>http://snipplr.com/view/51663/blackberry-air-app-how-to-add-a-splash-screen/</link>
<description><![CDATA[ <p>Include this XML file, named “blackberry-tablet.xml” and move it at the root level of your app.</p> ]]></description>
<pubDate>Wed, 06 Apr 2011 23:56:54 GMT</pubDate>
<guid>http://snipplr.com/view/51663/blackberry-air-app-how-to-add-a-splash-screen/</guid>
</item>
<item>
<title>(Bash) screen it - veleta</title>
<link>http://snipplr.com/view/49774/screen-it/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 28 Feb 2011 01:48:21 GMT</pubDate>
<guid>http://snipplr.com/view/49774/screen-it/</guid>
</item>
<item>
<title>(Windows PowerShell) Bildschirminhalt in Windows 7 drehen - simondiercks</title>
<link>http://snipplr.com/view/46509/bildschirminhalt-in-windows-7-drehen/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 05 Jan 2011 03:29:48 GMT</pubDate>
<guid>http://snipplr.com/view/46509/bildschirminhalt-in-windows-7-drehen/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Fill Available Screen Area with Squares (Centred) - adrianparr</title>
<link>http://snipplr.com/view/46497/as3-fill-available-screen-area-with-squares-centred/</link>
<description><![CDATA[ <p>Taken from Christian Cantrell's Adobe article called 'Authoring mobile Flash content for multiple screen sizes'.</p> ]]></description>
<pubDate>Wed, 05 Jan 2011 01:18:42 GMT</pubDate>
<guid>http://snipplr.com/view/46497/as3-fill-available-screen-area-with-squares-centred/</guid>
</item>
</channel>
</rss>