<SCRIPT language=JavaScript> // create a new Date object then get the current time var start = new Date(); var startsec = start.getTime(); // run a loop counting up to 250,000 var num = 0; for( var i = 0; i < 250000; i++ ) { num++; } var stop = new Date(); var stopsec = stop.getTime(); var loadtime = ( stopsec - startsec ) / 1000; </SCRIPT>
<CENTER> <SCRIPT> document.write("Oldal letöltése: " +loadtime+ " másodperc"); </SCRIPT> </CENTER> |