i have a photo gallery site.. on my displayimage.php i have it so al the larger images are automatically shrunken down, to be viewed. but if you click on the image, it should popup to the actual size image. its not working.. heres what i got.
echo "<a href=\"javascript: onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','ImageViewer','toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";
echo "<img src=\"".path2url($picturename)."\" {$image_size['geom']} class=\"image\" border=\"0\" alt=\"Click to view full size image\"><br>";
and linked to that is the popup script here..
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
what am i doing wrong?