Last year I wrote a simple JavaScript function, for prototype, to mimic an idle state event. The code was very simple and was quickly picked up on by think web2 (perfection kills) where they extended the idea and developed a self containing class which fires active and idle custom events.
After using this code on several projects I decided to port it over to Mootools 1.2 (also works in Mootools 1.1) so check it out the demo below and if you like it feel free to download the code.
demo
Mootools Idle State Notifier demo.
download
Mootools Idle State Notifier download.


2 Comments Received
Lovely code, thanks for updating and sharing it…:)
you should fix the rar file. It gives me a ‘file damaged’ error.
Leave A Reply