<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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:series="http://unfoldingneurons.com/"
> <channel><title>Comments on: Create Custom Events in MooTools&#160;1.2</title> <atom:link href="http://davidwalsh.name/mootools-custom-event/feed" rel="self" type="application/rss+xml" /><link>http://davidwalsh.name/mootools-custom-event</link> <description>Legendary scribbles about JavaScript, HTML5, AJAX, PHP, CSS, and ∞.</description> <lastBuildDate>Wed, 23 May 2012 14:01:31 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Daniel Lang</title><link>http://davidwalsh.name/mootools-custom-event#comment-9560</link> <dc:creator>Daniel Lang</dc:creator> <pubDate>Tue, 02 Jun 2009 03:25:43 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9560</guid> <description>Hi David,There is a conflict between your alt+click and FlashGet Download Manager.</description> <content:encoded><![CDATA[<p>Hi David,</p><p>There is a conflict between your alt+click and FlashGet Download Manager.</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/mootools-custom-event#comment-9556</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 01 Jun 2009 18:32:01 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9556</guid> <description>&lt;p&gt;olivier: Awesome!&lt;/p&gt;</description> <content:encoded><![CDATA[<p>olivier: Awesome!</p> ]]></content:encoded> </item> <item><title>By: jerome</title><link>http://davidwalsh.name/mootools-custom-event#comment-9555</link> <dc:creator>jerome</dc:creator> <pubDate>Mon, 01 Jun 2009 17:39:24 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9555</guid> <description>David, it work now on macOSX with firefox3 and the Alt-Click :)</description> <content:encoded><![CDATA[<p>David, it work now on macOSX with firefox3 and the Alt-Click :)</p> ]]></content:encoded> </item> <item><title>By: Linnk</title><link>http://davidwalsh.name/mootools-custom-event#comment-9553</link> <dc:creator>Linnk</dc:creator> <pubDate>Mon, 01 Jun 2009 17:02:24 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9553</guid> <description>Nice,  but ALT+click does not work on Linux LOL! I know, is very hard to write scripts crossbrowser. The problem is not Linux exactly, is because ALT+Click is an event for Drag&amp;Drop the windows on the Gnome Desktop from any part of these. I do not know if this happens too on KDE.But, I tested with control key and works fine. Nice tip David, I&#039;m gonna put it on the practice right now.</description> <content:encoded><![CDATA[<p>Nice,  but ALT+click does not work on Linux LOL! I know, is very hard to write scripts crossbrowser. The problem is not Linux exactly, is because ALT+Click is an event for Drag&amp;Drop the windows on the Gnome Desktop from any part of these. I do not know if this happens too on KDE.</p><p>But, I tested with control key and works fine. Nice tip David, I&#8217;m gonna put it on the practice right now.</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/mootools-custom-event#comment-9551</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 01 Jun 2009 16:12:22 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9551</guid> <description>&lt;p&gt;Awesome Daniel!&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Awesome Daniel!</p> ]]></content:encoded> </item> <item><title>By: Daniel Steigerwald</title><link>http://davidwalsh.name/mootools-custom-event#comment-9550</link> <dc:creator>Daniel Steigerwald</dc:creator> <pubDate>Mon, 01 Jun 2009 16:08:26 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9550</guid> <description>Hi David, you have to check meta key for mac. Another event extension:Event.implement({
uberControlPressed: function() {
return Browser.Platform.mac ? this.meta : this.control;
}});</description> <content:encoded><![CDATA[<p>Hi David, you have to check meta key for mac. Another event extension:</p><p>Event.implement({<br
/> uberControlPressed: function() {<br
/> return Browser.Platform.mac ? this.meta : this.control;<br
/> }</p><p>});</p> ]]></content:encoded> </item> <item><title>By: olivier</title><link>http://davidwalsh.name/mootools-custom-event#comment-9548</link> <dc:creator>olivier</dc:creator> <pubDate>Mon, 01 Jun 2009 15:54:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9548</guid> <description>Element.Events.konami = {
base: &#039;keyup&#039;,
condition: function(e){
$clear(this.retrieve(&#039;konami&#095;timeout&#039;));
var input = this.retrieve(&#039;konami&#095;input&#039;,[]);
input.push(e.key);
if (input.join(&#039;,&#039;) == &quot;up,up,down,down,left,right,left,right,b,a,enter&quot;){
this.removeEvents(&#039;konami&#039;);
return true;
}
this.store(&#039;konami&#095;input&#039;,input).store(&#039;konami&#095;timeout&#039;,(function(){this.eliminate(&#039;konami&#095;input&#039;);}).delay(2000,this));
}
}; </description> <content:encoded><![CDATA[<p>Element.Events.konami = {<br
/> base: &#8216;keyup&#8217;,<br
/> condition: function(e){<br
/> $clear(this.retrieve(&#8216;konami&#95;timeout&#8217;));<br
/> var input = this.retrieve(&#8216;konami&#95;input&#8217;,[]);<br
/> input.push(e.key);<br
/> if (input.join(&#8216;,&#8217;) == &#8220;up,up,down,down,left,right,left,right,b,a,enter&#8221;){<br
/> this.removeEvents(&#8216;konami&#8217;);<br
/> return true;<br
/> }<br
/> this.store(&#8216;konami&#95;input&#8217;,input).store(&#8216;konami&#95;timeout&#8217;,(function(){this.eliminate(&#8216;konami&#95;input&#8217;);}).delay(2000,this));<br
/> }<br
/> };</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/mootools-custom-event#comment-9547</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 01 Jun 2009 15:36:29 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9547</guid> <description>&lt;p&gt;@adamnfish: Thanks.  I&#039;ve changed to the ALT key and it works perfectly.  I&#039;ll research the &quot;control&quot; issue further.  Someone metioned that control-click is the same as right-click on a Mac, but I&#039;ve yet to verify.&lt;/p&gt;</description> <content:encoded><![CDATA[<p>@adamnfish: Thanks.  I&#8217;ve changed to the ALT key and it works perfectly.  I&#8217;ll research the &#8220;control&#8221; issue further.  Someone metioned that control-click is the same as right-click on a Mac, but I&#8217;ve yet to verify.</p> ]]></content:encoded> </item> <item><title>By: adamnfish</title><link>http://davidwalsh.name/mootools-custom-event#comment-9546</link> <dc:creator>adamnfish</dc:creator> <pubDate>Mon, 01 Jun 2009 15:33:12 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9546</guid> <description>Yeah, OSX doesn&#039;t pass the ctrlKey property of an event ever so if event.control is reading from that directly it won&#039;t work. A cross browser implementation would probably need to listen for the keycode of ctrl and set the event&#039;s ctrlKey property to true if it is down.That would mean listening for key presses on the whole document though, so it wouldn&#039;t be worth it unless you really needed the functionality.ps. altKey seems to work fine!</description> <content:encoded><![CDATA[<p>Yeah, OSX doesn&#8217;t pass the ctrlKey property of an event ever so if event.control is reading from that directly it won&#8217;t work. A cross browser implementation would probably need to listen for the keycode of ctrl and set the event&#8217;s ctrlKey property to true if it is down.</p><p>That would mean listening for key presses on the whole document though, so it wouldn&#8217;t be worth it unless you really needed the functionality.</p><p>ps. altKey seems to work fine!</p> ]]></content:encoded> </item> <item><title>By: David Walsh</title><link>http://davidwalsh.name/mootools-custom-event#comment-9545</link> <dc:creator>David Walsh</dc:creator> <pubDate>Mon, 01 Jun 2009 15:19:15 +0000</pubDate> <guid
isPermaLink="false">http://davidwalsh.name/?p=2720#comment-9545</guid> <description>&lt;p&gt;Thanks for the update guys.  I wonder if it has something to do with Mac&#039;s &quot;option&quot; key.  I don&#039;t develop on Macs -- I&#039;ll look for a solution though!&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Thanks for the update guys.  I wonder if it has something to do with Mac&#8217;s &#8220;option&#8221; key.  I don&#8217;t develop on Macs &#8212; I&#8217;ll look for a solution though!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/7 queries in 0.006 seconds using disk: basic
Object Caching 802/802 objects using disk: basic

Served from: davidwalsh.name @ 2012-05-23 09:06:20 -->
