How to time how long a user has pages open
Let's say a user spends 1 minute at index.html and then they click a link which takes them to another page in the same site.
Could javascript keep track of how much time a user spends on a few pages if they are in the same directory?
I am trying to make a total game time played variable for a PHP game.
Thanks.






Cartoon Clouds
Mountains
Sunrise
Clouds
Green Clouds
None


















Help