Ciao,
non sono molto esperto perciò perdonatemi se dico castronerie.
ho il seguente problema, una Gallery di Joomla usa un javascript per chiamare un popup e mostrare le immagini intere.
ma quando il popup esce fuori, non ha nessuna proprietà (titolo finestra, url è about:blank, lo sfondo è bianco etc) nonostante mostri l'immagine con successo
ecco una cattura:
a seguire la parte di codice che CREDO chiamo il popup e dovrebbe prendersi dei dettagli:
NOTA ho già dovuto mettere le mani su questo codice eliminando alcuni spazi che il SEF di Joomla interpretava come da correggere, quindi mi xcambiava l'indirizzo e le immagini non si vedevano... forse succede qualcosa di simile con le altre proprietà?![]()
vedete qualcosa di sbagliato?codice:$htmltext2 .= "<script language=\"JavaScript\">"; $htmltext2 .= "function pgpopup(pgimagefile,pgimagetitle,pgimagedescription) {\n"; $htmltext2 .= "var newWindow = window.open(\"\",\"newWindow\",\"height=" . ($tabparams["pgmaxheight"]+$dparm[2]) . ",width=" . ($tabparams["pgmaxwidth"]+$dparm[3]) . ",resizable=yes, scrollbars=yes, toolbar=no " . "\" );\n"; $htmltext2 .= "var imageurl = \"<img src= \"+ pgimagefile + \">\";\n"; $htmltext2 .= "newWindow.document.open();"; $htmltext2 .= "newWindow.document.writeln(\"<div align='center' >\");\n"; $htmltext2 .= "newWindow.document.writeln(\"<title>Profile Gallery Image: \"+ pgimagetitle + \"</title>\");\n"; $htmltext2 .= "newWindow.document.writeln(imageurl);\n"; $htmltext2 .= "newWindow.document.writeln(\" \");"; $htmltext2 .= "newWindow.document.writeln(pgimagedescription);\n"; $htmltext2 .= "newWindow.document.writeln(\"</div>\");\n"; $htmltext2 .= "newWindow.document.close();\n"; $htmltext2 .= "}\n"; $htmltext2 .= "</script>"; break;
grazie!



Rispondi quotando
e dopo alcune ore ho pensato che fosse meglio chiedere ai Pro
