<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Helvensteijn.com &#187; JavaScript</title>
	<atom:link href="http://helvensteijn.com/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://helvensteijn.com</link>
	<description>The glass is neither half full nor half empty; It is simply oversized</description>
	<lastBuildDate>Fri, 17 Feb 2012 03:38:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>JavaScript Documentation</title>
		<link>http://helvensteijn.com/2010/09/28/javascript-documentation/</link>
		<comments>http://helvensteijn.com/2010/09/28/javascript-documentation/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 01:05:58 +0000</pubDate>
		<dc:creator>Colin Helvensteijn</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[promo]]></category>

		<guid isPermaLink="false">http://helvensteijn.com/?p=1464</guid>
		<description><![CDATA[Have you ever been looking for some JavaScript documentation, but the top ten search results you got from Google were actually of mediocre quality at best? Well, apparently, that&#8217;s a fairly common problem. Some folks have picked up the idea to get Mozilla&#8217;s JavaScript documentation to be the first result for JavaScript related searches. The &#8230; <a class="more-link" href="http://helvensteijn.com/2010/09/28/javascript-documentation/">Read more</a>]]></description>
			<content:encoded><![CDATA[<p>Have you ever been looking for some JavaScript documentation, but the top ten search results you got from Google were actually of mediocre quality at best? Well, apparently, that&#8217;s a fairly common problem. <a href="http://promotejs.com/">Some folks</a> have picked up the idea to get <a href="https://developer.mozilla.org/en/JavaScript">Mozilla&#8217;s JavaScript documentation</a> to be the first result for JavaScript related searches. The Mozilla Foundation is, after all, responsible for JavaScript, so they ought to know something about it.</p>
<p>I routinely use the Mozilla Developer Center to look up information on the topic, and I hardly, if ever, need to look elsewhere. Their <a href="https://developer.mozilla.org/en/DOM">DOM section</a> is also quite extensive.</p>
<p>Considering the shady quality of some documentation (especially tutorials) out there, this is not a bad idea. Therefore, I&#8217;ll put the badge up here, too. Not that the traffic this site generates is going to be of much help to the cause, but every little bit helps, right? <img src='http://helvensteijn.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p class="aligncenter"><a href='https://developer.mozilla.org/en/JavaScript' title='JavaScript Reference, JavaScript Guide, JavaScript API, JS API, JS Guide, JS Reference, Learn JS, JS Documentation'><img src='http://static.jsconf.us/promotejshs.png' height='150' width='180' alt='JavaScript Reference, JavaScript Guide, JavaScript API, JS API, JS Guide, JS Reference, Learn JS, JS Documentation'/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://helvensteijn.com/2010/09/28/javascript-documentation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Click &amp; Hold</title>
		<link>http://helvensteijn.com/2010/03/23/click-and-hold/</link>
		<comments>http://helvensteijn.com/2010/03/23/click-and-hold/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:55:17 +0000</pubDate>
		<dc:creator>Colin Helvensteijn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[click&hold]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://helvensteijn.com/?p=1258</guid>
		<description><![CDATA[It&#8217;s actually kind of weird. Mac OS X has a click &#038; hold gesture in its Dock, as an alternative for right clicking or &#8212; since Snow Leopard &#8212; for Expos&#233;. iPhone OS has a tap &#038; hold gesture to select text or to bring up some options for links in Safari. On the other &#8230; <a class="more-link" href="http://helvensteijn.com/2010/03/23/click-and-hold/">Read more</a>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s actually kind of weird. Mac OS X has a click &#038; hold gesture in its Dock, as an alternative for right clicking or &#8212; since Snow Leopard &#8212; for Expos&eacute;. iPhone OS has a tap &#038; hold gesture to select text or to bring up some options for links in Safari. On the other hand, I have also seen web applications replacing the browser&#8217;s context menu with their own, which, in my opinion, is downright annoying. </p>
<p>But for some reason, I&#8217;ve never seen a web application use a click &#038; hold gesture, certainly not for a context menu. A <a href="http://www.google.com/search?q=click%20hold%20js&#038;ie=utf-8&#038;oe=utf-8">quick search</a> on Google didn&#8217;t really bring up anything either. Despite the fact that it could be so useful, if only to not hijack the right mouse button. Am I really the first one to think of this? Hard to imagine for something so trivial.</p>
<p>Anyway, since I couldn&#8217;t really find anything that does this, I just conjured up a proof of concept myself. It could probably use some improvement, but it conveys the general idea pretty well, <del datetime="2010-03-24T02:46:47+00:00">as long as you&#8217;re not using Internet Explorer</del> <ins datetime="2010-03-24T02:47:23+00:00">even in Internet Explorer</ins>.</p>
<p><a href="http://helvensteijn.com/code/contextmenu/" class="button">Proof of concept</a></p>
<p class="infobox">Update (March 26th, 2010)</p>
<p>I created a jQuery plugin that adds the click &#038; hold gesture as a custom event, which makes it ridiculously easy to bind your own code to it. You can read more about it and of course download it on the special demo page I created.</p>
<p><a href="http://helvensteijn.com/code/onclickhold/" class="button">More info / Demo / Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://helvensteijn.com/2010/03/23/click-and-hold/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

