La frame Google ne disparait pas ...

clorent31 -  
 clorent31 -
Bonjour,

En utilisant le petit bout de code dans la zone head, la frame google est toujours là ...

<script type="text/javascript">
if (window != top) {top.location = window.location;}
</script>

une idée .. ??

Merci à vous.

2 réponses

  1. Flachy Joe Messages postés 2303 Statut Membre 261
     
    Salut,
    essaye avec ça :
    <script type="text/javascript">
    if (parent.location != this.location)
    	parent.location = this.location;
    </script>
    0
  2. clorent31
     
    Salut,
    Merci pour ta réponse mais cela ne fonctionne pas ..

    Code :

    dans HEAD :

    <script type="text/javascript">
    if (window != top) {top.location = window.location;}
    </script>

    Dans BODY :

    <body>
    <form action="http://translate.google.com/translate" target="_blank">
    <input name="hl" value="fr" type="hidden"><input name="ie" value="UTF8" type="hidden"> <input name="oe" value="UTF8" type="hidden"><input name="prev" type="hidden">
    <p>Traduction du site</p><p><input name="u" value="ma page à traduire" size="20" type="hidden"</p>
    <input name="langpair" size="1" value="fr|en" type="hidden"><input value="French to English" type="submit">
    </form>
    </body>

    J'ai toujours la frame Google avec la traduction ...
    0