kusarigama
Technical User
Hi all,
I have a page with a link for a Javascript popupwin.
The popup win opens with the picture but the my page where I clicked the link turns into white and on the top left corner is a message saying "[object]. Does anyone know why.
In addition the height tag also doesn't work for my popupwin. It is always doubled ..
Thanx in advance
Olli
Here is the snippet:
<?
$image_size = getimagesize(trim($pic_big[1]));
print"<a href=\"javascript:window.open('bigview.php4?pic_b=".trim($pic_big[1])."','".phot."','"."width=".$image_size[0]."','"."height=".$image_size[1]."')\">++ view large ++</a>";
?>
I have a page with a link for a Javascript popupwin.
The popup win opens with the picture but the my page where I clicked the link turns into white and on the top left corner is a message saying "[object]. Does anyone know why.
In addition the height tag also doesn't work for my popupwin. It is always doubled ..
Thanx in advance
Olli
Here is the snippet:
<?
$image_size = getimagesize(trim($pic_big[1]));
print"<a href=\"javascript:window.open('bigview.php4?pic_b=".trim($pic_big[1])."','".phot."','"."width=".$image_size[0]."','"."height=".$image_size[1]."')\">++ view large ++</a>";
?>