Idle Timer Example
View full post about the jQuery IdleTimer here
The idle timer is built on jQuery and provides two custom events: idle.idleTimer and active.idleTimer, which fire when the user's idle state has changed.
This example has an idle timeout of 7 seconds. When you move your mouse over the page or start typing, you're considered "active". The status above the textarea changes to indicate your current state.