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

    errore visualizzazione pagina

    Ciao a tutti,
    premetto che faccio siti da pochissimo e ho questo problema.

    da quando ho rifatto il sito www.alfaprivativo.com in php mi viene visualizzato ERRORE DI VISUALIZZAZIONE :
    ERRORE:
    previsto OGGETTO
    COD:0
    linea: tot

    la differenza della pagina rispetto alla versione html
    sta in due comandi php che caricano due pag html

    i codici delle due pagine html caricate con php sono:

    FOOTER:

    <html>
    <head>
    <script language="JavaScript" type="text/javascript">
    <!-- Start

    var bookmarkurl="http://www.alfaprivativo.com"
    var bookmarktitle="Alfaprivativo - il sito ufficiale"
    function addbookmark(){
    if (document.all)
    window.external.AddFavorite(bookmarkurl,bookmarkti tle)
    }
    // End -->
    </script>
    </head>
    <body onload="YY_Mousetrace('',',document.YY_Mousetrace1 ');YY_Layerfx(5,15,'yy_ml','yy_mt','document.layer s[\'logo\']',50000,false,0,0,10)">

    <tr>
    <td valign="top"><hr color="black"></td>
    </tr>
    <tr>
    <td><center><div style="font-family: verdana,arial,geneva; font-size: 8pt;" >Site under construction

    ci scusiamo per eventuali malfunzionamenti
    clicca qui per aggiungere il sito ai preferiti
    www.alfaprivativo.com / alfaprivativo© 2006 all rights reserved
    </center></td>
    </tr>


    </body>
    </html>


    e MENU


    <html>
    <head>
    </head>
    <body>
    <table>
    <tr>
    <td></td>
    <td width="60" >[img]testo/home.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60" >[img]testo/bio.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/band.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/date.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/media.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/pics.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/diario.jpg[/img]</td>
    <td>[img]imgs/riga.jpg[/img]</td>
    <td width="60">[img]testo/links.jpg[/img]</td>
    <td></td>

    </tr>
    <tr>
    <td colspan="17"><hr color="black" width="500"></td>
    </tr>

    </table>
    </body>
    </html>


    qualcuno riesce ad aiutarmi?

    grazie in anticipo!!!

  2. #2
    AGGIORNAMENTO:
    procedendo per tentativi ho scoperto che il problema è dato dallo script per far aggiungere il sito ai preferiti con comando automatico.

    Sia che lo metto nel footer che nella pag principale php mi da sempre errore PREVISTO OGGETTO!

  3. #3
    io sono di roma e dalle parti mie si dice che in questi casi

    ME LA CANTO E ME LA SONO DA SOLO

    ho risolto la cosa cambiano lo script con questo molto più semplice e versatile.

    <SCRIPT>
    var bookmarkurl="http://xxxxx";
    var bookmarktitle="descrizione";

    function preferiti(){
    if (document.all)
    window.external.AddFavorite(bookmarkurl,bookmarkti tle)
    }

    function home() {
    if(document.all)
    document.body.style.behavior='url(#default#homepag e)';
    document.body.setHomePage('http://xxxxx');
    }
    </SCRIPT>
    </head>

    TESTO
    ----------------------------------------------

    non cancello il post perchè spero che qualcun'altro possa trovare utile quest'info!

    grazie cmq

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.