Idle is awesome. I've been goofing with how to do that for a while,
and write it differently each time. Yours is much more elegant than
some of the garbage I've come up with.
Ryan Florence
[Introducing MooDocs - become a better developer]( http://blog.flobro.com/
)
On Nov 29, 2009, at 8:49 PM, pradador wrote:
I tried my hand at creating custom events and came up with these
three:
CleanClick: Fires only when a user clicks on a link without holding
down shift, alt, etc. Maybe we can undo the damage done by Lightboxes
when they steal my "open in new tab" clicks?
Idle: Window events which fire when the user is idle and when they
return.
KonamiCode: The ever so popular Konami code event. Window event which
fires when the user types in the Konami code on your site.
Check them out here:
http://mootools.code.pradador.com/browser/trunk/Source/Event