Open image on a new window
Posted on 2004-11-13
All I'm trying to do is open an image on a new window. Here is my code:
print "<td rowspan='2'>" . "<a href='#' onclick=\'window.open
('img src=$Row[SP1],directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no');return false\' target=\"_blank\">" . "</a></td>";
I do not get an error but the image dose not show up.
So 2 thing I want my image to show up as a link and went the usser clicks on the link I want the image to show up on a new window.