<?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>Sat, 13 Jun 2026 15:19:55 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Switch hover/touch events for Desktop/mobile devices - jbernus</title>
      <link>https://snipplr.com/view/73124/switch-hovertouch-events-for-desktopmobile-devices</link>
      <description>&lt;p&gt;Hover events can be irrelevant on mobile devices relying on touch events.&#13;
This script switches the classical desktop hover events to touch events.&#13;
&#13;
Inspired by: http://jbkflex.wordpress.com/2012/07/12/javascript-touch-event-or-mouse-event-detect-and-handle-according-to-device/&lt;/p&gt;</description>
      <pubDate>Tue, 10 Dec 2013 02:37:23 UTC</pubDate>
      <guid>https://snipplr.com/view/73124/switch-hovertouch-events-for-desktopmobile-devices</guid>
    </item>
    <item>
      <title>(JavaScript) Check if element is in the wieport - jbernus</title>
      <link>https://snipplr.com/view/71712/check-if-element-is-in-the-wieport</link>
      <description>&lt;p&gt;Copied from somewhere, probably stackoverflow.&lt;/p&gt;</description>
      <pubDate>Wed, 03 Jul 2013 22:50:46 UTC</pubDate>
      <guid>https://snipplr.com/view/71712/check-if-element-is-in-the-wieport</guid>
    </item>
    <item>
      <title>(JavaScript) Alternative views based on hashtag - jbernus</title>
      <link>https://snipplr.com/view/71651/alternative-views-based-on-hashtag</link>
      <description>&lt;p&gt;Show alternative views of your page, depending on a hashtag&lt;/p&gt;</description>
      <pubDate>Thu, 27 Jun 2013 19:10:32 UTC</pubDate>
      <guid>https://snipplr.com/view/71651/alternative-views-based-on-hashtag</guid>
    </item>
    <item>
      <title>(JavaScript) Merge or unmerge lists of items depending on window size - jbernus</title>
      <link>https://snipplr.com/view/71515/merge-or-unmerge-lists-of-items-depending-on-window-size</link>
      <description>&lt;p&gt;For side by side ULs that become too wide on small screens/devices.&#13;
The following script let you merge or unmerge ULs depending on the size of the screen/device.&#13;
&#13;
Works with jQuery&lt;/p&gt;</description>
      <pubDate>Thu, 13 Jun 2013 23:02:02 UTC</pubDate>
      <guid>https://snipplr.com/view/71515/merge-or-unmerge-lists-of-items-depending-on-window-size</guid>
    </item>
    <item>
      <title>(jQuery) Exclude IE versions before IE9 with jQuery - jbernus</title>
      <link>https://snipplr.com/view/61040/exclude-ie-versions-before-ie9-with-jquery</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 21 Nov 2011 21:53:18 UTC</pubDate>
      <guid>https://snipplr.com/view/61040/exclude-ie-versions-before-ie9-with-jquery</guid>
    </item>
    <item>
      <title>(jQuery) Add \'label for\'  matching input dynamically - jbernus</title>
      <link>https://snipplr.com/view/60129/add-label-for--matching-input-dynamically</link>
      <description>&lt;p&gt;Dynamically add &lt;label&gt; HTML tag to input description, matching the input by adding an ID value to the input.&lt;/p&gt;</description>
      <pubDate>Tue, 25 Oct 2011 00:11:40 UTC</pubDate>
      <guid>https://snipplr.com/view/60129/add-label-for--matching-input-dynamically</guid>
    </item>
    <item>
      <title>(jQuery) Get a part of a class name - jbernus</title>
      <link>https://snipplr.com/view/56740/get-a-part-of-a-class-name</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 18 Jul 2011 04:34:05 UTC</pubDate>
      <guid>https://snipplr.com/view/56740/get-a-part-of-a-class-name</guid>
    </item>
    <item>
      <title>(JavaScript) Date translation in french in JavaScript - jbernus</title>
      <link>https://snipplr.com/view/56520/date-translation-in-french-in-javascript</link>
      <description>&lt;p&gt;Translate dates in french in JavaScript&lt;/p&gt;</description>
      <pubDate>Wed, 13 Jul 2011 17:34:52 UTC</pubDate>
      <guid>https://snipplr.com/view/56520/date-translation-in-french-in-javascript</guid>
    </item>
  </channel>
</rss>
