I updated the code below after talking to Ivan at WebKreator. It now works without opening a new window!
<script language="javascript"> function endTime()
<body bgcolor="#FFFFFF" fgcolor="#000000" onload="javascript:endTime()">
<img src="" width=1 height=1 name="counter">
<!--
var now = new Date();
var start = now.getTime();
{
var now = new Date();
var end = now.getTime();
timeToComplete = ( end - start ) / 1000;
alert( "this page took "+timeToComplete+" seconds to load!" );
document.counter.src="/icons/text.gif?time="+timeToComplete;
}
// -->
</script>
You might also like
If you like this post then please subscribe to my full RSS feed. You can also click here to subscribe by email. There are also my fabulous photos and funny videos to explore too!
