![]() |
Show 150 posts per page |
.dsy:it. (http://www.dsy.it/forum/)
- Tech (http://www.dsy.it/forum/forumdisplay.php?forumid=189)
-- Problema PHP (http://www.dsy.it/forum/showthread.php?threadid=18535)
Problema PHP
Qualcuno mi sa spiegare perchè se metto in una pagina PHP la seguente stringa:
<a href="#" onClick="window.open('http://www.tin.it/', 'blank', 'toolbar=0,location=0,directories=0,status=0,menub
ar=0,scrollbars=0,resizable=0,copyhistory=0,width=
300,height=320')">DANcito Mail</a>
Hai guardato nel sorgente della pagina generata con php come risultano quelle righe?
__________________
~ get Debian! ~ get FreeBSD! ~ get OpenBSD! ~
Con document.open funziona.
Possibile che l'oggetto window sia nullo?
Prova a mettere un controllo di debug del tipo:
alert(window == undefined);
__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»
probabilmente con window non funziona perchè è una pagina dinamica.
Ma l'oggetto window dipende dal browser che vede semplice Html, lui non dovrebbe sapere che tu stai usando il Php (al di là dell'estensione del file).
__________________
«And if you ever smell christian blood up in the mountains, then get your axe and chop them down!»
Posta le righe del file php precedenti e seguenti quel blocco 
__________________
?
| All times are GMT. The time now is 03:56. | Show all 7 posts from this thread on one page |
Powered by: vBulletin Version 2.3.1
Copyright © Jelsoft Enterprises Limited 2000 - 2002.