redblood21
Number of posts : 58 Registration date : 2009-04-05 Age : 28 Location : pampanga
| Subject: vIEWERS TIME SPENT Fri Apr 10, 2009 9:05 am | |
| VIEWERS TIME SPENT - Code:
-
<html> <head> <!-- This file retrieved from the JS-Examples archives http://www.js-examples.com 1000s of free ready to use scripts, tutorials, forums. Author: Artem - http://javascript4free.by.ru -->
</head> <body>
<CENTER><form name=exf1> <font face=arial color=grey size=2>Time spent on u spent in my page:</font> <input size=9 name=timespent> </form><p>
<script> startday = new DATE(); clockStart = startday.getTime();
function initStopwatch() { var myTime = new DATE(); var timeNow = myTime.getTime(); var timeDiff = timeNow - clockStart; this.diffSecs = timeDiff/1000; return(this.diffSecs); } initStopwatch();
function getSecs() { var mySecs = initStopwatch(); var mySecs1 = ""+mySecs; mySecs1= mySecs1.substring(0,mySecs1.indexOf(".")) + " secs."; document.exf1.timespent.value = mySecs1 window.setTimeout('getSecs()',1000); } getSecs(); </script>
</body> </html> NO NEED TO COMPILE JUST PASTE IT INTO YOUR MEDIA BOX CREDITS TO HIDECODESGALORE.ORG | |
|
aila_tricia
Number of posts : 1 Registration date : 2009-04-14
| Subject: Re: vIEWERS TIME SPENT Wed Apr 15, 2009 9:50 am | |
| jesel saan yn ilalagay sa jinx? | |
|