Hi,
also ich habe einen Speedtest nachgestellt, ich versteh den auch soweit, nur in mein hirn will einfach nicht rein, warum getTimer() ausgerechnet durch die Zahl 10 geteilt werden muss, warum nicht 5 oder 20 ...und WIE kommt das Script dann auf die KB/s kommt, hier das script:
PHP-Code:
ifFrameLoaded (2) {
time = 10/(getTimer()/1000);
if (Number(time)>100) {
connection = "wow! what a fast connection .... No, I'm kidding ,it's in your cache... ;) ";
} else if (Number(time)<1) {
connection = "Oh NO. A fossile .... a 14.4 Modem?????";
} else if (Number(time)<3) {
connection = "huh.. a 28.8 Modem???? hmm....";
} else if (Number(time)<6) {
connection = "you are on a 56k modem or you have a bad connection";
} else if (Number(time)<10) {
connection = "i bet you have ISDN connection...";
} else if (Number(time)<30) {
connection = "seems to be cable or ADSL ...";
} else if (Number(time)<100) {
connection = "i bet you have T1 connection...";
}
}
Vielen Dank schon einmal im Voraus und noch einen schönen Tag!
cYa
velocity.