Visualizzazione dei risultati da 1 a 2 su 2
  1. #1

    errrore visualizzazzzzzzzzzzzzzzione della pagina.....


    Perchè mi da "errore nella visualizzazione della pagina"?
    Qualcuno sa spiegarmelo? Forse è semplicemente uno stupidissimo errore... è ke non sono ancora tanto esperto...


    La pagina è qesta:




    <html>
    <head>
    <title>QUIZ DI VASCO</title>
    <script language="JavaScript">

    var ans = new Array();
    var done = new Array();
    var score = 0;

    ans[1] = "a";

    function Engine(question, answer) {
    if (answer != ans[question]) {
    if (!done[question]) {
    done[question] = -1;
    alert("GAME OVER! MI DISPIACE... SARA' PER UN'ALTRA VOLTA.);
    }
    else {
    alert("GAME OVER!");
    }
    }
    else {
    if (!done[question]) {
    done[question] = -1;
    score++;
    alert("BRAVO, RISPOSTA ESATTA\n\nCONTINUA COSI');
    }
    else {
    alert("HAI GIA' RISPOSTO. CLICCA SU "AVANTI");
    }
    }
    }
    function NextLevel(question, answer, form) {
    if (score = 0) {
    alert("GAME OVER!");
    onclick=self.location.href="sitoquiz.htm";
    }
    else {
    alert("DOMANDA NUMERO 2");
    onclick=self.location.href="d2.htm"
    }
    }
    </script>
    <base target="_self">
    </head>
    <body topmargin="10" bgcolor="black" text="white" link="white" vlink="white" alink="white">

    <center><font color="red" size="5">QUIZ</font></center>






    <center>
    <table width="80%">



    <tr bgcolor="blue">
    <td bgcolor="blue">
    <font face="Arial" size="2" color="yellow">
    1. Quale tra questi animali non è un mammifero?</font>
    </td>
    </tr>
    </table>





    <table width="80%" border="0">
    <tr>
    <td align="center" width="50%"><font color="yellow"><font face="Arial" size="2">
    <input type="checkbox" value="a"
    onclick="Engine(1, this.value)">LO SQUALO</font>
    </font></td>
    <td align="center" width="50%"><font color="yellow"><font face="Arial" size="2">
    <input type="checkbox" value="b"
    onclick="Engine(1, this.value)">IL BISONTE</font>
    </font></td>
    </tr>
    <tr>
    <td align="center" width="50%"><font color="yellow"><font face="Arial" size="2">
    <input type="checkbox" value="c"
    onclick="Engine(1, this.value)">L'ELEFANTE</font>
    </font></td>
    <td align="center" width="50%"><font color="yellow"><font face="Arial" size="2">
    <input type="checkbox" value="d"
    onclick="Engine(1, this.value)">LA GIRAFFA</font>
    </font></td>
    </tr>
    </table>

    </table></center>



    <center><table>
    <tr>
    <td align="left">
    <p align="center"><font face="arial" size="2"><input type="button" value="AVANTI >>" onclick="NextLevel(2, this.value, this.form)"></font></p>
    </td>
    </tr>
    </table></center>

    </body>

    </html>
    http://artemusic.altervista.org/altervista.jpg
    Il forum dedicato allo spettacolo!!

  2. #2
    Moderatore di JavaScript L'avatar di br1
    Registrato dal
    Jul 1999
    Messaggi
    19,998
    se il titolo che hai dato alla discussione e' un espediente per attirare l'attenzione non mi e' piaciuto.

    Leggi il regolamento e riprova.

    ciao
    Il guaio per i poveri computers e' che sono gli uomini a comandarli.

    Attenzione ai titoli delle discussioni: (ri)leggete il regolamento
    Consultate la discussione in rilievo: script / discussioni utili
    Usate la funzione di Ricerca del Forum

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.