"Mouse on" function

Discussion in 'Programming' started by chewie49, Feb 8, 2010.

  1. #1
    Hello Guys,

    I need a script or code or whatever to put on a website that can do this:

    When the visitor moves the mouse around the website (including the scroll bars), a timer is counting the seconds. But if the visitor moves the mouse OUTSIDE the page, (i.e.: over the Menu items of the browser, or the BACK button, or whatever) the Timer STOPS.

    How can I do this?

    I reallly need this.

    Thanks!!
     
    chewie49, Feb 8, 2010 IP
  2. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    NeoCambell, Feb 8, 2010 IP
  3. chewie49

    chewie49 Well-Known Member

    Messages:
    305
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    Thanks!

    Any live example of this?
     
    chewie49, Feb 9, 2010 IP
  4. NeoCambell

    NeoCambell Peon

    Messages:
    456
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    We used it on few of our websites and it is working fine. Just give a try yourself.
    As said before, you will have to implement the timer functions.
     
    NeoCambell, Feb 9, 2010 IP