bonjours, j'aimerai faire un petit script pour que quand une page est est o top (sans frame) elle sois rediriger vers une autre.
bein jai penser a :
<script type= "text/javascript">
<!--
if (top.location=this.location)
{
location.href="lapage.html";
}
//-->
</script>
ou
<script type ="text/javascript">
<!--
if (top.frame=this.frame)
{
location.href="index.php3";
}
//-->
</script>
mais aucun ne marche quelqun peut m'aider svp