<?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>Garrick Cheung &#187; menu</title>
	<atom:link href="http://www.garrickcheung.com/tag/menu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.garrickcheung.com</link>
	<description>Sharing what I know and learn about CSS, MooTools, Javascript, PHP and etc.</description>
	<lastBuildDate>Wed, 28 Apr 2010 02:52:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>MooTools ContextMenu Class by David Walsh</title>
		<link>http://www.garrickcheung.com/mootools/mootools-contextmenu-class-by-david-walsh/</link>
		<comments>http://www.garrickcheung.com/mootools/mootools-contextmenu-class-by-david-walsh/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 08:50:39 +0000</pubDate>
		<dc:creator>Garrick</dc:creator>
				<category><![CDATA[MooTools]]></category>
		<category><![CDATA[menu]]></category>

		<guid isPermaLink="false">http://www.garrickcheung.com/?p=288</guid>
		<description><![CDATA[Do you need to write some custom code or plug-in together for a context menu? I&#8217;m talking about the menu that comes up when you use your right mouse click. Well, now you don&#8217;t because David Walsh has release a pretty wicked and flexible ContextMenu class for MooTools. It&#8217;s simple because it&#8217;ll create something like: [...]]]></description>
			<content:encoded><![CDATA[<p>Do you need to write some custom code or plug-in together for a context menu? I&#8217;m talking about the menu that comes up when you use your right mouse click. Well, now you don&#8217;t because David Walsh has release a pretty wicked and flexible <a href="http://davidwalsh.name/mootools-context-menu" target="_blank">ContextMenu class for MooTools</a>.<span id="more-288"></span></p>
<p>It&#8217;s simple because it&#8217;ll create something like:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;ul id=&quot;contextmenu&quot;&gt;
	&lt;li&gt;&lt;a href=&quot;#edit&quot; class=&quot;edit&quot;&gt;Edit&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;separator&quot;&gt;&lt;a href=&quot;#cut&quot; class=&quot;cut&quot;&gt;Cut&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#copy&quot; class=&quot;copy&quot;&gt;Copy&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#paste&quot; class=&quot;paste&quot;&gt;Paste&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;&lt;a href=&quot;#delete&quot; class=&quot;delete&quot;&gt;Delete&lt;/a&gt;&lt;/li&gt;
	&lt;li class=&quot;separator&quot;&gt;&lt;a href=&quot;#quit&quot; class=&quot;quit&quot;&gt;Quit&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</pre></td></tr></table></div>

<p>And display the following with a right click:<br />
<img src="http://www.garrickcheung.com/wp-content/uploads/dw-context.jpg" alt="ContextMenu Class" /></p>
<p>I really like that you can enable/disable the menu or individual items in the menu. Something I&#8217;m looking forward to in his next version is to be able to add/remove items.</p>
<p>Head on over to <a href="http://davidwalsh.name/mootools-context-menu" target="_blank">his post</a> for more info, the files, and a demo.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.garrickcheung.com/mootools/mootools-contextmenu-class-by-david-walsh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
