specify user dont act in one hours ago

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • oranoos3000
    New Member
    • Jan 2009
    • 107

    specify user dont act in one hours ago

    hi
    i'd like to specify wheather user do any action and
    else get to him/her a message (
    my meaning is that wheather stayed in one page without cliking mouse or scroll page or go to another page
    )
    and i want a timer that if user do any action this timer is set zero and the other is cout

    thanks alot
  • RamananKalirajan
    Contributor
    • Mar 2008
    • 608

    #2
    You can use setTimeout function for the counter and store the value in the global variable check for an hour. In the body write a listener for onmousedown, in that reset the counter.

    Thanks and Regards
    Ramanan Kalirajan

    Comment

    • oranoos3000
      New Member
      • Jan 2009
      • 107

      #3
      check for any key press in script

      hi
      can i check press any key from keyboard with keypress event


      thanks alot
      sepideh mohseni

      Comment

      • RamananKalirajan
        Contributor
        • Mar 2008
        • 608

        #4
        yes, you can

        Thanks and Regards
        Ramanan Kalirajan

        Comment

        • Dormilich
          Recognized Expert Expert
          • Aug 2008
          • 8694

          #5
          yes, you can
          if it’s a regular key (something like system hotkeys (volume up/down) don’t work, afaik)

          Comment

          Working...