Visualizzazione dei risultati da 1 a 4 su 4

Discussione: Mi decifrate questo??

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2006
    Messaggi
    157

    Mi decifrate questo??

    Scusate mi potete dire dove c'è un errore in questo code html??? Per piacere??

    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    <html>
    
    <head>
    <style>
    a:link			{font:8pt/11pt Verdana; color:red}
    a:visited		{font:8pt/11pt Verdana; color:#4e4e4e}
    </style>
    <meta HTTP-EQUIV="Content-Type" Content="text-html; charset=Windows-1252">
    <title>HTTP 404 - Pagina non trovata</title>
    </head>
    <script> 
    
    function Homepage(){
    
    // in real bits, urls get returned to our script like this:
    // res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm 
    
        //For testing use 
        //DocURL = "res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"
        DocURL=document.location.href;
    	
        //this is where the http or https will be, as found by searching for :// but skipping the res://
        protocolIndex=DocURL.indexOf("://", 4);
    
        //this finds the ending slash for the domain server 
        serverIndex=DocURL.indexOf("/", protocolIndex + 3);
    
        //for the href, we need a valid URL to the domain. We search for the # symbol to find the begining 
        //of the true URL, and add 1 to skip it - this is the BeginURL value. We use serverIndex as the end marker.
        //urlresult=DocURL.substring(protocolIndex - 4,serverIndex);
        BeginURL=DocURL.indexOf("#",1) + 1;
        urlresult=DocURL.substring(BeginURL, serverIndex);
        if (protocolIndex - BeginURL > 7)
            urlresult=""
    
        //for display, we need to skip after http://, and go to the next slash
        displayresult=DocURL.substring(protocolIndex + 3, serverIndex);
    
        var aElement = document.createElement("A");
        aElement.innerText = displayresult;
        aElement.href = urlresult;
    
        homepageContainer.appendChild(aElement);
    }
    
    function doSearch()
    {
        saOC.NavigateToDefaultSearch();
    }
    
    function initPage() 
    {
        document.body.insertAdjacentHTML("afterBegin","<object id=saOC CLASSID='clsid:B45FF030-4447-11D2-85DE-00C04FA35C89' HEIGHT=0 width=0></object>");
        Homepage();
    }
    
    </script>
    
    
    <body bgcolor="white" onload="initPage()">
    
    <table width="400" cellpadding="3" cellspacing="5">
      <tr>
        <td id="tableProps" valign="top" align="left">
        </td>
        <td id="tableProps2" align="left" valign="middle" width="360"><h1 id="errortype"
        style="COLOR: black; FONT: 13pt/15pt Verdana"><span id="errorText">Impossibile trovare la pagina</span></h1>
        </td>
      </tr>
      <tr>
        <td id="tablePropsWidth" width="400" colspan="2"><font
        style="COLOR: black; FONT: 8pt/11pt verdana">La pagina cercata è stata rimossa,
     il nome della pagina è stato modificato o non è disponibile al momento.</font></td>
      </tr>
      <tr>
        <td id="tablePropsWidth2" width="400" colspan="2"><font id="LID1"
        style="COLOR: black; FONT: 8pt/11pt Verdana"><hr color="#C0C0C0" noshade>
        <p id="LID2">Provare a eseguire le operazioni seguenti:</p><ul>
          <li id="list1">Verificare che l'indirizzo immesso nella barra degli indirizzi sia stato digitato
            nel modo corretto.
    
          
          <li id="list2">Aprire la pagina iniziale <a href="http://www.enigmi.net">
          www.enigmi.net</a>, quindi cercare i collegamenti alle informazioni
            desiderate. 
          <li id="list3">Per cercare un altro collegamento, fare clic sul pulsante
           Indietro.     
          <li ID="list4">Fare clic sul pulsante
           Cerca per ricercare informazioni su Internet. [/list]
        
    
    
    
        </p>
        <h2 id="ietext" style="font:8pt/11pt Verdana; color:black">HTTP 404 - File non trovato
    
        Internet Explorer 
    
        </h2>
        </font></td>
    
      </tr>
    </table>
    </body>
    </html>

  2. #2
    nel css che hai scritto none ssendo correlati o ad un # che ne indica il di o ad un . che ne indica la classe..qual'é poi il tuo problema?

  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2006
    Messaggi
    157
    in pratica non è un problema!!! Guarda qui http://www.enigmi.net/giocare.htm

    è un gioco a quiz ed io non riesco ad andare avanti!!! comunque io sono arrivato qui...
    http://www.enigmi.net/01-10/errore.htm

    precedentemente è anche spiegato che un trucco è andare a vedere in visualizza, html per risolvere l'enigma... non ci riesco, mi potete dare una mano???

  4. #4
    mi stai dicendo che io ho perso del mio tempo per questo?

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.