script con "target"

mircoraiti

Nuovo Utente
23 Apr 2004
15
0
0
<?
if ($confirm_type == "view")
echo "document.location = \"test.html\";";
?>

Con questo script misto di php e Js il file test.html mi si visualizza
nella stessa finestra (_self). Dato che test.html è un frameset come faccio per visualizzarlo in "_top". Ho provato a mettere target="_top" ma mi dà errore
Grazie
 
Prova ad usare nomeframe.location (al posto di document.location)... non so se funge... tu prova...
 

Discussioni simili