Monday, 18-Dec-2017, 10:43 AM


Main
Sign Up
Login
Wains Organization Welcome Guest | RSS  
Menu

Section categories
Javascripts [45]
Awesome javascripts codes..
HTML scripts [21]
HTML scripts you never seen before...

Information


Please Login Or Register to see all info
Name : Guest
Username : Guest
IP Address : 23.22.136.56
Group : Guests
Browser :

<..........................>
Current date : 18-Dec-2017
Current day : Monday

Get Updates

New Downloads
[ Games/Torrents ]
[ Games/Torrents ]
[ Softwares ]
demo image         
jQuery Book - 1.2-V1 (0)
[ Games/Torrents ]

Statistics

Total online: 1
Guests: 1
Users: 0

Main » Articles » Javascripts

Clock the visitors timing spent here
Code

<!-- this script got from www.wainsorg.ucoz.com-Coded by: Alex Wains -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
startday = new Date();
clockStart = startday.getTime();
function initStopwatch() {  
var myTime = new Date();  
return((myTime.getTime() - clockStart)/1000);  
}
function getSecs() {  
var tSecs = Math.round(initStopwatch());  
var iSecs = tSecs % 60;
var iMins = Math.round((tSecs-30)/60);  
var sSecs ="" + ((iSecs > 9) ? iSecs : "0" + iSecs);
var sMins ="" + ((iMins > 9) ? iMins : "0" + iMins);
document.forms[0].timespent.value = sMins+":"+sSecs;
window.setTimeout('getSecs()',1000);  
}
// End -->
</script>

<BODY onLoad="window.setTimeout('getSecs()',1)">

<CENTER>
<FORM>
<FONT SIZE="2" FACE="Arial">Time spent here: </FONT><input size=5 name=timespent>
</FORM>
</CENTER>

<font face="Tahoma"><a target="_blank" href="http://www.wainsorg.ucoz.com/"><span style="font-size: 8pt; text-decoration: none">JavaScript Free Code</span></a></font>


Preview :











Time spent here:



JavaScript Free Code
Category: Javascripts | Added by: Alex (06-Mar-2013) | Author: Ali Ameen Wains E W
Views: 609 | Tags: javascripts, by Ali Ameen Wains, Codes, Clock the visitors timing spent her | Rating: 0.0/0
Total comments: 0
Only registered users can add comments.
[ Sign Up | Login ]
Search

Extras

Partners
Add your website

New Scripts
[ HTML scripts ]
[ Javascripts ]
[18-Apr-2013]
Random Link (0)
[ HTML scripts ]
[14-Mar-2013]
Alignments (0)
[ HTML scripts ]
[14-Mar-2013]
Table with Color effect (0)
[ HTML scripts ]
[14-Mar-2013]
Line Divider (1)

New Blogs
[ Custom Script ]
[ How? ]
[ How? ]
[ How? ]

Our poll
How would you rate your knowledge in uCoz?

Copyright Wains Org. © 2017Powered by uCoz / Customization by Ali Ameen Wains / About AdminPrivacy Policy