Free php scripts.
scripturi pentru webmasteri - free web tools - copie si lipeste scripts pentru situl tau sute de scripturi Daca vrei sa ai acces la baza de date trebuie sa te inregistrezi. Succes. Omae
Lista Forumurilor Pe Tematici
Free php scripts. | Reguli | Inregistrare | Login

POZE FREE PHP SCRIPTS.

Nu sunteti logat.
Nou pe simpatie:
Profil angel_jo
Femeie
25 ani
Bucuresti
cauta Barbat
25 - 72 ani
Free php scripts. / ::.SCRIPTURI COPY&PASTE- AVATARE / TESTEAZA-TI REFLEXELE - joc de pus pe site Moderat de SIGN, daniel, kayisATG-, ozzykris, tibilica
Autor
Mesaj Pagini: 1
omaebazooka
Administrator

Inregistrat: acum 18 ani
Postari: 1105
<script language="JavaScript">
<!-- hiding for old browsers
    // response time test,
    //

var startTime=new Date();
var endTime=new Date();
var startPressed=false;
var bgChangeStarted=false;
var maxWait=20;
var timerID;

function startTest()
{
    document.bgColor=document.response.bgColorChange.options[document.response.bgColorChange.selectedIndex].text;
    bgChangeStarted=true;
    startTime=new Date();
}

function remark(responseTime)
{
    var responseString="";
    if (responseTime < 0.10)
        responseString="Well done!";
    if (responseTime >= 0.10 && responseTime < 0.20)
        responseString="Nice!";
    if (responseTime >=0.20 && responseTime < 0.30)
        responseString="Could be better...";
    if (responseTime >=0.30 && responseTime < 0.60)
        responseString="Keep practising!";
    if (responseTime >=0.60 && responseTime < 1)
        responseString="Have you been drinking?";
    if (responseTime >=1)
        responseString="Did you fall asleep?";

    return responseString;
}

function stopTest()
{
    if(bgChangeStarted)
    {
        endTime=new Date();
        var responseTime=(endTime.getTime()-startTime.getTime())/1000;

        document.bgColor="white";       
        alert("Your response time is: " + responseTime + " seconds " + "n" + remark(responseTime));
        startPressed=false;
        bgChangeStarted=false;
    }
    else
    {
        if (!startPressed)
        {
            alert("press start first to start test");
        }
        else
        {       
            clearTimeout(timerID);
            startPressed=false;             
            alert("cheater! you pressed too early!");
        }               
    }
}

var randMULTIPLIER=0x015a4e35;
var randINCREMENT=1;
var today=new Date();
var randSeed=today.getSeconds();
function randNumber()
{
    randSeed = (randMULTIPLIER * randSeed + randINCREMENT) % (1 << 31);
    return((randSeed >> 15) & 0x7fff) / 32767;
}

function startit()
{
    if(startPressed)
    {
        alert("Already started. Press stop to stop");
        return;
    }
    else
    {
        startPressed=true;
        timerID=setTimeout('startTest()', 6000*randNumber());
    }
}
// -->
</script>
<p>Test your Response time!</p>
Click on "Start" first, and wait until the background color changes. As soon as it changes, hit "stop!"


<form name="response">
Change background color in:
<select name="bgColorChange">
<option selected>deeppink
<option>aliceblue
<option>crimson
<option>darkkhaki
<option>cadetblue
<option>darkorchid
<option>coral
<option>chocolate
<option>mediumslateblue
<option>tomato
<option>darkslategray
<option>limegreen
<option>cornflowerblue
<option>darkolivegreen
</select>
<input type="button" value="start" onClick="startit()">
<input type="button" value="stop" onClick="stopTest()">
</form>

<p align="center"><font face="arial" size="-2">This free script provided by</font><br>
<font face="arial, helvetica" size="-2"><a href="http://scripturi.3xforum.ro">FREEScript
</a></font></p>


_______________________________________
"Living mistery"        "RoTop69"                  "Producator vinuri nobile" - Paunesti,Vrancea, mail : info-at-cramanobless.ro Intra in lumea EREPUBLIK

pus acum 17 ani
   
Pagini: 1  

Mergi la