Update:
Ok, i got the link working now and the image appears if you click the link text in a new window, however the pop up still comes up with the "NaN" Error.
I have found that the code is looking for the parameter pgimage file to write out, but i can't find where this variable is defined with a path.
$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";
I guess the problem is with the pop up so does anyone know what the problem could be?
Many Thanks,
Shane.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.