<?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>Wed, 17 Jun 2026 10:16:11 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) JS Dynamic Year (Copyright) - mennyj</title>
      <link>https://snipplr.com/view/35861/js-dynamic-year-copyright</link>
      <description>&lt;p&gt;JS to dynamically update year -- good for copyright.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 01:01:22 UTC</pubDate>
      <guid>https://snipplr.com/view/35861/js-dynamic-year-copyright</guid>
    </item>
    <item>
      <title>(JavaScript) Vertically align within browser window - mennyj</title>
      <link>https://snipplr.com/view/35857/vertically-align-within-browser-window</link>
      <description>&lt;p&gt;[via rtcrm]&#13;
&#13;
This will vertically align a block-level element inside the user's browser window and will automatically adjust if the window is resized.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 00:55:41 UTC</pubDate>
      <guid>https://snipplr.com/view/35857/vertically-align-within-browser-window</guid>
    </item>
    <item>
      <title>(JavaScript) CSS Browser Selector - mennyj</title>
      <link>https://snipplr.com/view/35853/css-browser-selector</link>
      <description>&lt;p&gt;[via rtcrm]&#13;
CSS Browser Selector is a very small javascript with just one line and less than 1kb which empower CSS selectors. It gives you the ability to write specific CSS code for each operating system and each browser.&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 00:52:22 UTC</pubDate>
      <guid>https://snipplr.com/view/35853/css-browser-selector</guid>
    </item>
    <item>
      <title>(JavaScript) HTML5 Enabling Script - mennyj</title>
      <link>https://snipplr.com/view/35850/html5-enabling-script</link>
      <description>&lt;p&gt;[via rtcrm]&#13;
&#13;
Since HTML5 is getting [more](http://www.brucelawson.co.uk/tests/html5-elements.html) [attention](http://adactio.com/journal/1540/) by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as `&lt;article&gt;`, is to use the [HTML5 shiv](http://ejohn.org/blog/html5-shiv/), hereâ€™s a mini script that enables all the new elements.&#13;
&#13;
###Usage &amp; Download###&#13;
&#13;
The html5.js and must be inserted in the head element _(this is because IE needs to know about the element before it comes to render them â€” so it canâ€™t sit in the footer of the page, i.e. below the elements in question)_.&#13;
&#13;
Itâ€™s conditional within the code, so Firefox _et al_ wonâ€™t run the code â€” but it doesnâ€™t hurt to wrap it in an IE conditional call to reduce the http pulls for other browsers:&#13;
&#13;
&lt;pre&gt;&lt;code&gt;&amp;lt;!--[if IE]&amp;gt;&#13;
&amp;lt;script src="html5.js" type="text/javascript"&amp;gt;&amp;lt;/script&amp;gt;&#13;
&amp;lt;![endif]--&amp;gt;&#13;
&lt;/code&gt;&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 18 Jun 2010 00:43:53 UTC</pubDate>
      <guid>https://snipplr.com/view/35850/html5-enabling-script</guid>
    </item>
  </channel>
</rss>
